This is the output of a simple JSP using XML format.
Use a jsp:scriptlet to loop from 1 to 10: 
1
, 
2
, 
3
, 
4
, 
5
, 
6
, 
7
, 
8
, 
9
, 
10
  
  Use a jsp:expression to write the date and time in the browser's locale:
  Oct 31, 2025 2:50:35 AM
  This sentence is enclosed in a jsp:text element.