| Summary: | [validation] JSPX format file allows invalid (non-XML) scriptlet syntax | ||
|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Ian Trimble <ian.trimble> |
| Component: | jst.jsp | Assignee: | Salvador Zalapa <zalapa> |
| Status: | NEW --- | QA Contact: | Nick Sandonato <nsand.dev> |
| Severity: | normal | ||
| Priority: | P3 | CC: | thatnitind |
| Version: | 3.2.2 | ||
| Target Milestone: | Future | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
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.