<jsp:include page="/WEB-INF/include/main_template.jsp" flush="false" />
the flush is important as it executes the page fragment and sets the output to be the same writer as the currrent page. Only works Catalina 4 or later (Servlet 1.3 complient Engine) Harnath, Santosh (Cognizant) wrote: >I have A URL as a variable and I want to include this as my JSP include >Somthing like <jsp:include page=<%= urlVariable%> /> > >Regards, > > >-----Original Message----- >From: James Mitchell [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, 8 May 2002 6:05 PM >To: Struts Users Mailing List >Subject: RE: include a dynamically created page in my jsp > > >Do you mean have jsp1 generate text that is used inside jsp2 before jsp2 is >compiled? > >JM > > >>-----Original Message----- >>From: Harnath, Santosh (Cognizant) [mailto:[EMAIL PROTECTED]] >>Sent: Wednesday, May 08, 2002 6:52 AM >>To: [EMAIL PROTECTED] >>Subject: include a dynamically created page in my jsp >> >> >> >> >> How do i include a dynamically created page in my jsp ? >> >> I have already constructed the URL now i need to do an include after >>reading the same from the session. >> I have tried the <%@ include>,<bean:include> neither of which work. >> Any Ideas? >> >>Regards >> >> >> > > >------------------------------------------------------------------------ > > >This e-mail and any files transmitted with it are for the sole use of the intended >recipient(s) and may contain confidential and privileged information. >If you are not the intended recipient, please contact the sender by reply e-mail and >destroy all copies of the original message. >Any unauthorised review, use, disclosure, dissemination, forwarding, printing or >copying of this email or any action taken in reliance on this e-mail is strictly >prohibited and may be unlawful. > > Visit us at http://www.cognizant.com > > > >------------------------------------------------------------------------ > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

