JSP post does not work with specific texts sent through multiple JSP flow
Issue
- The text below does not go through the multiple JSP flow.
select */somename from tablename
- Consider an application with a simple WAR, consisting of two JSP pages,
index.jspandprintrequest.jsp. - Inside
index.jspyou have a simple form:
form action="printrequest.jsp" method="post"
input type="text" name="select_text"
input type="submit" value="Send Request"
- Inside
printrequest.jspyou the text is simply printed:
request.getParameter("select_text");
- In some environment the call never goes to the
printrequest.jspwhen the select_text is select * from tablename or select somename from tablename. - However it will work if select_text is hello testemp
Environment
- JBoss Enterprise Application Platform (EAP)
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
