Good question. Did you get a response, somehow?
Is possible to use attributes from request, session or application in
dynamic URL's?
I'm interested in this.


mikeh96 wrote:
> 
> I would like to do something like this:
>  
> (e.g. http://foo/view.action?page=help.vm)
> 
> <action name="view" 
>            class="com.opensymphony.xwork2.ActionSupport">
>           <interceptor-ref name="defaultStack" />
>           <result
> type="velocity">/templates/screens/#request['page']</result>
> </action>
> 
> I know I can do it if I write my own action with setters/getters for the
> parameter .. but I was wondering
> if I can use some ognl syntax or other (e.g.
> $request.getParameter("page"))
> 
> thanks
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Can-I-access-URL-parameters-within-struts.xml-using-ognl---tp12999801p29303613.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to