Re: Please help regarding passing special characters
K R Viju <[email protected]>
| Newsgroups | gmane.comp.java.sun.servlet |
|---|---|
| Message-ID | <018c01c3881a$2a42bd50$6d00a8c0@viju> |
Replace & with %26 where 26 is ascii value of &.
Else Use doPost. shud solve the problm.
Vj
u cud use URLEncoder.encode(String, string)
and for decoding back URLDecoder.decode(String, String)..
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[email protected]]On Behalf Of vtr
Sent: Wednesday, October 01, 2003 2:37 PM
To: [email protected]
Subject: Please help regarding passing special characters
Hi
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
V.T.R.Ravi Kumar, Engg.(CCX), BHEL
Phone Office +91 1334285260
Mobile +91 1353114861
___________________________________________________________________________ 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
___________________________________________________________________________ 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
___________________________________________________________________________
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