-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
Tifara,
you can redirect servlet or Html with the following code. refer Servlet
Tutorial that comes with the Jws or any other similar stuff.
the *response* is the HttpServletResponse object obtained during Get or Post
method.
moreover this will also retain session contents even when cookies are
disabled. Actuall you call this as Url rewriting. Hope this helps.
Refer www.working-dogs.com/dash , a servlet frame work. They have dealt
with this.
Riaz
try {
response.sendRedirect(res.encodeRedirectUrl("hostname/zone/yourservlet")));
}catch(Exception e) {;}
-----Original Message-----
>> servlet i want to send it back to "localhost/servlets/HelloWorld",
>> without specifying the name of the servlet, because the target url
>> can be from anywhere within 'localhost'. how is that done?
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]