You can use wildcard too.

Something like this:

<action name="go*">
 <result>/{*}.jsp</result>
</action>

This takes advantage of  ActionSupport and take the default result
(success) to your page.


2012/7/6 Łukasz Lenart <lukasz.len...@googlemail.com>

> 2012/7/6 Paul Benedict <pbened...@apache.org>:
> > Is there any such shortcut in S2? It would be nice if such a thing
> existed like:
> > <action name="gopage">
> >   <result name="success">/page.jsp</result>
> > </action>
>
> It should work, as a default action class is the ActionSupport class
> and its execute() method returns SUCCESS.
>
>
> Regards
> --
> Łukasz
> mobile +48 606 323 122 http://www.lenart.org.pl/
> Warszawa JUG conference - Confitura http://confitura.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


-- 
Atentamente
Óscar

Reply via email to