> 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 space, and some other special characters, is not allowed inside and URL,
so everything after the space is ignored. The space must be encoded with the
character "+". U can automatically encode/decode an url by using the
URLencode/decode methods.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets