On 7/30/10 3:42 AM, colaru wrote:
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.
http://struts.apache.org/2.1.8.1/struts2-core/apidocs/org/apache/struts2/dispatcher/StrutsResultSupport.html
Although now %{} works, too (and makes more sense as ${} usually means
EL, not OGNL).
-Dale
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
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org