----- Original Message -----
From: "gina" <[EMAIL PROTECTED]>

>     response.sendRedirect("aJspPage.jsp?paramA=aa  a&paramB=bbb");
>     ...
>
> However, aJspPage.jsp only receives the parameter
>     paramA=aa
> and everything after the space is dropped.

URL's are not permitted to have space in them. So everything after the space
is droped.

You can to encode the url in the following manner.
response.sendRedirect(java.net.URLEncoder.encode("aJspPage.jsp?paramA=aa
a&paramB=bbb"));

For more details of this method, refer the API docs.

This should help.

Regds,
Gokul

>
> 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

Reply via email to