Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

[s2] Finding a URL of an Action within execute()

Eric Rank

2007-01-30


Hi List,

I'm attempting to construct a URL within an action's execute code.
The URL will be sent out in an email, serving as a link for a user to
click on. It'd be great if I could do this by finding the URL of an
Action using the Action name, which I have defined in the struts.xml
file.

Is it possible? What's the best way to do it?

Thanks,

Eric Rank

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.