I think the short answer is no.
The long answer goes something like this. When you instruct your browser to
request a URL (either by typing it in an address bar or clicking on a link
etc), it just wants a HTTP stream of data in response. It has no idea what
is happening on the server side, so if you aren't using redirection (which
sends a response back to the browser telling it to request a different URL)
you can forward pages, and thus processing, on the server side to your
hearts content - all the browser is waiting for is the HTTP data stream. If
the browser updated the address bar for everything contacted on the server
side to fulfill a request it would go nuts! :) Anyway, that's the reason
that the address bar doesn't change to reflect the server-side forward; it
simply doesn't know it has happened - all it did was make a request for a
URL and your server sent back some data on response, it doesn't actually
know *where* on your server that data came from.
-----Original Message-----
From: Ty van den Akker [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 25, 1999 8:48 AM
To: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Subject: I'm a servlet behind
The servlet I post to becooomes the new URL in my browser. This is logical,
but it also means that the URL for my MainMenu is /servlet/Login because the
Login servlet handles the login. Aside from URL redirection which provides a
slow solution, or having my MainMenu Servlet handle Login and each other
Servlet be named ahead of itself, how can I get my URL to match my actual
displayed page?
Ty van den Akker
Software Engineering, ZServe Corporation
Creators of Great Online Communities
801-375-8921, ext. 104
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html