On Fri, Mar 11, 2011 at 11:10 AM, François Rouxel <rouxe...@yahoo.com>wrote:

> well thx,
>
> but I need struts2 to do a little job, parse the url...and go to another
> action... without changing the url...
> because,
> actually, there is no www.mysite.com/abusiness.html


try "chain"?
redirectAction is client-side redirect, chain is server-side redirect

>
>
> it's just a fake, but I want to 'redirect', 'forward' I don't know the
> right
> word, to the a detail business page that don't exist ...and I need struts2
> to
> give me the params..
> what are the others way to tell struts, hey parse the url (abusiness.html)
> and
> give me the right page...?
> a mvc can do that, no?
> am I the only one generating permaLink?
>
>
>
> Francois Rouxel
> ____________________________________________
>
>
>
> ----- Message d'origine ----
> De : Dave Newton <davelnew...@gmail.com>
> À : Struts Users Mailing List <user@struts.apache.org>
> Cc : François Rouxel <rouxe...@yahoo.com>
> Envoyé le : Jeu 10 mars 2011, 21h 55min 34s
> Objet : Re: Re : Re : url question
>
> On Thu, Mar 10, 2011 at 9:52 PM, François Rouxel <rouxe...@yahoo.com>
> wrote:
> > does struts2 have a type='forward' ?
> > because I use type='redirectAction'
>
> Like I said--a redirect... redirects.
>
> http://struts.apache.org/2.x/docs/result-types.html
> http://struts.apache.org/2.x/docs/dispatcher-result.html
>
> The documentation is your friend.
>
> Dave
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to