You might want to reconsider your approach and try using Tiles instead.  I
think you will find that easier.  If your JSP code with the include is
contained in a JSP that is fronted by an action it will mean that you are
going through the ActionServlet twice for a single request, which according
to the committers (and my own personal experience) is not a good idea.

Matt
----- Original Message ----- 
From: "Shryock, Chad" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List (E-mail)" <[EMAIL PROTECTED]>
Sent: Tuesday, August 12, 2003 1:19 AM
Subject: JSP Includes, Actions, and Struts 1.0


> Hello,
>
> I am going to re-ask the question.
>
> I have an include on a JSP page that is including an action. (I am
creating
> a dynamic header.) The problem any thing under the include is not being
sent
> to the web browser.
>
> The jsp include:
> <jsp:include page="/buildHeader.do">
> <jsp:param name="activeMenuTab" value="home"/>
> <jsp:param name="activeMenuItem" value="none"/>
> </jsp:include>
>
> The action mapping connected to the jsp page:
> <action path="/buildHeader" type="naimes.aisr.header.BuildHeaderAction">
> <forward name="success" path="/themes/default/header.jsp"
> redirect="false">
> </forward>
> </action>
>
> Thanks in advance,
> Chad Shryock.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to