Community
Participate
Working Groups
In a JSPX (XML-syntax JSP) file, the use of scriptlet tags like "<% out.println("Hello!"); %>" is not validated as an error, but at runtime the JSP compiler will fail to compile it. If the format is JSPX, the valid equivalent would be "<jsp:scriptlet>out.println("Hello!");</jsp:scriptlet>". The following servers are known to not compile the invalid syntax: Tomcat 6.0, WLS 11gR1.