views:

287

answers:

1

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!

A: 

Try this

<jsp:include page="./Address.jsp?tabIndex=30&showBox=true&display=none" />
RaviG
No luck on this one either. In the controller that executes before this page I do several response.localRedirect() and I think that the implementation on Weblogic and tomcat is different so the data is being lost.
doug
Can you post entire JSP code so that we may find some clue.
RaviG