You could try just:
response.sendRedirect("http://" + url + "?" + querystring);
ChrisC
> -----Original Message-----
> From: Laura [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 07, 2002 7:53 PM
> To: [EMAIL PROTECTED]
> Subject: Urgent send redirect
>
>
> Hi all,
>
> I have a problem and I don't know whre is the cause.
>
> My context is /xxx: in this context I have a servlet. This
> servlet takesas
> parametr an url in IP form (nn1.nn2.nn3.nn4).
> At the end of the servlet I do:
>
> response.sendRedirect(response.encodeRedirectURL(url + "?" +
> querystring));
>
> If the url parameter,passed to my servlet is nn1.nn2.nn3.nn4,
> the browser of
> the user is redirected to
>
>
> http://myserver/xxx/nn1.nn2.nn3.nn4?querystring
>
> But I want:
>
> http://nn1.nn2.nn3.nn4?querystring
>
>
> Where is my problem?
>
> Please help me.
>
>
>
> Thanks
>
> Laura
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>