<jsp:include> appears doesn't fit ok with Struts with another action.
When it's called, the response output stream is overrided by it, supressing
the template content.
besides
<c:import> worked ok, it keep the request values and integrate ok the
output, but:
<c:import url="<%=request.getParameter("action")%>" />
"According to TLD, the attribute URL can“t accept any expression"
----- Original Message -----
From: "Michael Jouravlev" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Tuesday, March 07, 2006 3:11 PM
Subject: Re: Template action include
Do <jsp:include> or <c:import> not work for you?
On 3/7/06, Marcio Ghiraldelli <[EMAIL PROTECTED]> wrote:
Hello,
I am including an Struts action inside an JSP file, passed by GET as
an
"action" attribute, exposing with bean taglib:
GET: template.jsp?action=List.do
template.jsp:
(...)
<bean:include id="action"
page="<%=request.getParameter("action")%>" />
<bean:write name="action" filter="false" />
(...)
but I need that the request (and session) values would be exposed to
the
action too, wich not happens which the above method. Like:
GET: template.jsp?action=List.do&what=1
What would be the best approach? Rewrite GET parameters does'nt sound
me
the best solution.
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]