struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "j alex" <strutstwou...@gmail.com>
Subject Re: accessing url parameters in jsp.
Date Thu, 20 Dec 2007 16:22:49 GMT
Thanks guys..yeah, i hit upon s:url few hrs after i had posted this :-)

On Dec 19, 2007 1:59 PM, Maxx <maxxyme@gmail.com> wrote:

> On Dec 19, 2007 6:45 AM, j alex <strutstwouser@gmail.com> wrote:
> > Ideally, i would want the entire incoming query string be passed on to
> the
> > iframe- but didn't find anything handy.
> >
> > Note  : i can't use the s:action tag in this case, since the result is a
> > jasperreport page, and it flushes the response within the result itself
> ; so
> > had to go with iframe.
>
> Yes, you can't use the s:action tag, but instead you can use the s:url
> tag, like
>  <s:url action="yourActionName" includeParams="get" />
> and all your "GET" parameters will be copied in the new forged url.
>
> Oh... and please read the doc!!! ;)
> http://struts.apache.org/2.x/docs/url.html
>
> Greets,
> Maxx
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message