posted 14 years ago
You can write JSP pages in XML, these are called JSP documents. It's optional. It comes with all the advantages of any XML document, like the possibility to create XML well-formed pages. Everything must be written with a opening and closing tag. For example, you cannot write a scriptlet like this :
You have to write it :
You can read all the gory details in the JSP Specification, JSP.6 JSP Documents.