Sandy Tiu wrote:
> 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?

Take a peek at java.net.URLEncoder.encode().

-Dave

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