JSP Parsing Error when migrating from JBoss 4.0 to 5.x
Issue
The application works fine on 4.0.
When migrating from JBoss 4.0 to JBoss 5.1 , when the JSP page is accessed, it gives the parsing exception:
org.apache.jasper.JasperException: /el1.jsp(16,0) Attribute value request.getParameter("idContent") is quoted with " which must be escaped when used within the value
Example Snippet line from the JSP as below:
<c:set var="contentid" value="<%= request.getParameter("idContent")%>"/>
Is there any way to make strict checking disabled.
Solution for tomcat:
http://tomcat.10.n6.nabble.com/TC-5-5-27-upgrade-JSP-tag-attribute-quoting-td2143336.html
Is there similar solution for JBoss.
Environment
- JBoss Enterprise Application Platform
- 5.1.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.