Hi Shuja,
Refer to the URLEncoder or URLDecoder. You will find that except 0-9,
A-Z, a-z all other characters are changed to their hex value appended
with a %. For eg, % is changed to %25, 25 being the two digit hex for
the lower 8 bit of %. But + is changed to space. So if you want to + to
be submitted as + you have to use the %xy hex value of +. Write a small
method in the jsp to do that.
Regards,
Arnab
-----Original Message-----
From: Shuja Nawaz [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 03, 2000 12:55 PM
To: [EMAIL PROTECTED]
Subject: How to use special character?
Hi,
I'm using special characters on my jsp page.
When I submit the data the value of the character is changed.
How should I controle the encoding?
Thank you in anticipation.
Form:
Shuwaz.
========================================================================
===
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
==========================================================================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