Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330411 - [validation] JSPX format file allows invalid (non-XML) scriptlet syntax
Summary: [validation] JSPX format file allows invalid (non-XML) scriptlet syntax
Status: NEW
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: jst.jsp (show other bugs)
Version: 3.2.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: Future   Edit
Assignee: Salvador Zalapa CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-16 18:23 EST by Ian Trimble CLA
Modified: 2013-01-09 14:41 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Trimble CLA 2010-11-16 18:23:23 EST
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.