Thank you.
That did the trick!!
On Oct 24, 6:30 am, Avlesh Singh <
avl...@gmail.com> wrote:
> Remove the type="redirect" attribute from your <to> part of the rule.
> The default value is "forward", and I guess that is what you want.
>
> Cheers
> Avlesh
>
> On 10/24/09, Enrique <
enrique.garcia.c...@gmail.com> wrote:
>
>
>
> > Hello I just found urlrewrite and tested it with Struts 2.
>
> > This is my rule
>
> > <rule>
> > <from>/test/status/</from>
> > <to type="redirect">%{context-path}/HelloWorld.action</to>
> > </rule>
>
> > So when I go tohttp://localhost/test/status/I'm redirected to
> > Struts HelloWorld.action which is ok
> > but then the url changes to thishttp://localhost/HelloWorld.action