Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JSP Interest »

Re: Please help regarding passing special characters

Erik Beijnoff

2003-10-01


> in one of my forms i am sending '&' something as in ' joe & Sam'
>
> but when i do the getParameter for the above i get only till joe
> the rest gets truncated.
> I will be thankful Any to help in this direction
>

http://java.sun.com/j2se/1.4.2/docs/api/java/net/package-summary.html

Check out the class java.net.URLEncoder. It handles your requirements.

Regards Erik Beijnoff

===========================================================================
To unsubscribe: mailto listserv@(protected)".
For digest: mailto listserv@(protected)".

Some relevant archives, FAQs and Forums on JSPs can be found at:

http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com


©2008 junlu.com - Jax Systems, LLC, U.S.A.