Java Mailing List Archive

http://www.junlu.com/

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

Re: [s2] codebehind/zero configuration and redirect

Nate Drake

2007-02-02

Replies:

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@(protected)
For additional commands, e-mail: user-help@(protected)

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