struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Jouravlev" <jmi...@gmail.com>
Subject Re: Template action include
Date Tue, 07 Mar 2006 18:11:27 GMT
Do <jsp:include> or <c:import> not work for you?

On 3/7/06, Marcio Ghiraldelli <marcio@neobiz.com.br> 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message