users@glassfish.java.net

Re: redirect url glassfish v3

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Tue, 16 Feb 2010 12:06:10 -0800

On 02/16/10 04:54 AM, glassfish_at_javadesktop.org wrote:
> thanks for your answer , the url is for example :
>
> www.carriel.com.ar/ar_id.do?id=9559
>
> and this have redirect --> www.carriel.com.ar/ar_id.do?id=9560
>

The redirect facility does not work for query params, that is,
query params cannot be changed as part of a redirect.

A redirect affects only the request URI: If the original request
URI contained any query params, the query params will be preserved
and appended to the redirect URI.
 
Jan

> thks
> [Message sent by forum member 'roque_ing' (roque.ing_at_gmail.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=386963
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>