-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
hi, thank you all for your responses. it's been a great help. i tried
the code below but instead of
("hostname/zone/yourservlet")
i did res.getRequestURI it works to the effect that i see the correct
url but i get a message of
Found
The document has moved <here>. with an empty link
what is going on? what does it mean?
thanks again.
-tifara
--- TIS Official <[EMAIL PROTECTED]> wrote:
> 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]
>
>
_____________________________________________________________
Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com
--
--------------------------------------------------------------
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]