Not sure about other J2EE servers, but with JRun, there are several benefits:
1.l JRun compiles the JSP page faster, because the JSP-to-XML view transformation is
2. You can use XML tools to work with the JSP.
3. JRun validates JSPs against the Sun JSP 1.2 DTD, to make sure the XML file is
well-formed and valid.
4. The compiler produces more meaningful debugging messages for XML syntax.
For a description of the JSP XML syntax schema, see
For a description of the JSP XML DTD, see http://java.sun.com/dtd/jspxml.dtd