Request.getQueryString() returns null in the included JSP
posted 7 years ago
We use OC4J 10.1.3.3 as our application server.
We have a simple struts application with 2 JSPs page1.jsp which includes page2.jsp. When we call the page1.jsp directly from the URL, http://<sysno>:<port>/test/page1.jsp?cid=1 the request.getQueryString() returns correct value in page2.jsp.
When we use a struts action to redirect to page1.jsp, request.getQueryString() returns null in page2.jsp, Althou the request parameters are available. http://<sysno>:<port>/test/test.do?cid=1 i.e test.do forwards to page1.jsp.