Well, you could just use the pageContext variable to get the query string
like so:
${pageContext.request.queryString}
Zarar
strutstwouser wrote:
>
> Hi,
>
> I need to access certain url parameters and pass them on as the query
> string
> to an iframe within the jsp
>
> So, if the incoming url is :
>
> http://localhost:9080/myapp/searchForm.action?mainObj.childObj=xyz&abc=123
>
> i need to pass to iframe as :
>
> <iframe src="searchResults.action?mainObj.childObj=xyz&abc=123" ... />
>
> I can access the abc param as <s:property value="%{#parameters.abc}" /> ,
> but the same doesn't work for <s:property value="%{#parameters.
> mainObj.childObj}" />
>
> 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.
>
> Any help is appreciated.
>
> Thanks,
> Joseph
>
>
--
View this message in context:
http://www.nabble.com/accessing-url-parameters-in-jsp.-tp14411652p14424668.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]