JSP request parameter is returning null on a jsp include win Weblogic.
- by doug
Hello,
I am having trouble with the jsp:include tag. I have code like the following:
<jsp:include page="./Address.jsp">
<jsp:param value="30" name="tabIndex"/>
<jsp:param value="true" name="showBox"/>
<jsp:param value="none" name="display"/>
</jsp:include>
The page is included fine, but when I try to access the parameters on the Address.jsp page, they are null. I have tried accessing them the following ways (with jstl):
<c:out value="${param.tabIndex}" />
<c:out value="${param['tabIndex']} />
<%= request.getParameter("tabIndex") %>
<c:out value="${pageScope.param.tabIndex} />
${param.tabIndex}
etc...
Here is the kicker, The above works fine in tomcat 5.5. However, when I deploy the application in Weblogic 10, it does not.
Also, the code works fine in other areas of my application (on weblogic) just not a particular page.
Any Ideas?
Thanks!