Uh you don't.

        The only way to change the URL that the browser shows is by
sending the browser to that point.  You will have to use some sort of
real redirect (HTTP status 302) to do it.

Jeff

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]] On Behalf Of
Maxim Patramanskij
Sent: Thursday, February 07, 2002 2:05 PM
To: [EMAIL PROTECTED]
Subject: URL changing


Hi there,

could anyone pease help me with the following:

I want to change the URL in browser, so that when servlet is responding
to client request (POST) to http://localhost/xyz, browser then shows URL
appended by some query string, like f.i. http://localhost/xyz?id=83xm720

What technique should I use for that?

Max

________________________________________________________________________
___
To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to