> I found out that I have to parse the above string and replace all spaces
> with a "%20" before appending it to the url. It worked after
> I did this. Is there a better way?

Aside from using the JSP error directive, you should use
java.net.URLEncoder.encode(msg) rather than substituting spaces with %20.
It does all of the correct escaping that you'll need done, which includes
more than just spaces.

David

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to