It's not a full answer to your question, but maybe this could help:

<jsp:include page="page2.jsp" flush="true">
  <jsp:param name="yourParameter" value="<%=
request.getParameter('yourParameter') >" />
<jsp:include />

> I am including two files on one jsp file like this:
> <jsp:include page="page1.jsp" flush="true" />
> <jsp:include page="page2.jsp" flush="true" />
>
> In both, page1.jsp and page2.jsp I am using 'request'
> object.
> When I try to access the getParameter() method of
> 'request' in the second page I always get a null
> value.
>
> If I try to includes the pages reversed it is the
> same.
>
> Obviously my problem if with the 'flush' parameter,
> why request is no longer available after the first
> inclusion? The buffer should by emptyed nor the
> request object. What can be happening or this is
> normal and there is another sollution?
>
> PD: I cannot use the <%@ include %> directive, I need
> it on execution time

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to