global forward in struts 2 2007-02-07 - By Dave Newton
Back --- Daniel Amadei wrote: > Unfortunately, this does not do what I want. > > I need to type an action in the URL and get > redirected to the result without having to code the > Action.
Ah. Then you don't want a "global forwards", you want wildcard action mappings, from http://cwiki.apache.org/WW/action-configuration.html:
<action name="*" > <result>/{1}.jsp</result> </action>
Or, in your case (and mine) you define it as a tiles result.
d.
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ______ __ __ The fish are biting. Get more visitors on your site using Yahoo! Search Marketing. http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|