You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ron Chan <rc...@i-tao.com> on 2007/02/02 09:29:42 UTC
[s2] codebehind/zero configuration and redirect
i've put together a simple app to test the combination of codebehind/zero
configuration and it seems to work quite well
is there a way to use the redirect result without having to revert to
putting in something in struts.xml?
thanks
Ron
--
View this message in context: http://www.nabble.com/-s2--codebehind-zero-configuration-and-redirect-tf3159664.html#a8763361
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: [s2] codebehind/zero configuration and redirect
Posted by Nate Drake <nd...@gmail.com>.
Ron Chan <rchan <at> i-tao.com> writes:
>
>
> i've put together a simple app to test the combination of codebehind/zero
> configuration and it seems to work quite well
>
> is there a way to use the redirect result without having to revert to
> putting in something in struts.xml?
>
> thanks
> Ron
>
Try an annotation like this:
@Result(name="aName", value="somewhere", type=ServletRedirectResult.class)
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org