The best way is to do this:
String redirectURL = "aJspPage.jsp?paramA=aa a¶mB=bbb";
redirectURL = response.encodeURL(redirectURL);
response.sendRedirect(redirectURL);
browsers handle space differently across versions and vendors.
-Alan
----- Original Message -----
From: "gina" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, February 04, 2001 1:56 AM
Subject: Redirect to JSP with parameters missing
> Hi all,
>
> I'm trying to send a redirect from Servlet to a JSP.
> In the Servlet, I have:
> ...
> response.sendRedirect("aJspPage.jsp?paramA=aa a¶mB=bbb");
> ...
>
> However, aJspPage.jsp only receives the parameter
> paramA=aa
> and everything after the space is dropped.
>
> The curious thing is, this works fine on my other colleagues' PC but not
> mine. And when I tried to call the jsp direct from browser with the same
> parameters, it works.
>
> My configuration (as well as other colleagues) is:
> NT4 SP6
> IE 4 SP2
> Weblogic Server 5.1 SP6
>
> Pls help. Thanks!
>
> Gina
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html