TCLUG Development Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Servlets that change the URL request on the fly?
Is is possible for a servlet to change the requested url in its response back
to the client?
For example:
User requests http://www.bob.com/servlet/BobServlet, handle the request, and
part of that handling would be to re-write the requested url to
http://www.bob.com/bob.html so the response would be the servlets output, but
the url would look like a static page.
Are servlets capable of manipulating the url to the level of detail? I combed
the API but cannot find something that would allow me to manipulate the url to
the extent.
--
Bob Tanner <tanner@real-time.com> | Phone : (612)943-8700
http://www.real-time.com | Fax : (612)943-8500
Key fingerprint = 6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9