'&' is a escape character in HTTP. it is a thing that u have to work around.
but u could replace character of & to its hex equivalent, I am not sure about the value.. u could then regenerate it. sorry thats all of the top of my head... Hope that helps Amit -----Original Message----- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of M. Amin Sent: Wednesday, September 25, 2002 3:35 AM To: [EMAIL PROTECTED] Subject: request.getParameter() decode a url incorrectly Dear All, I used java.net.UrlEncoder class to encode my url but when i read the decoded url which is sent as request parameter using request.getParameter method i found the url id decoded incorrectly and all the encoded '&' characters are missed. Is there any way to recover such problem ? Regards, M. Amin ========================= 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
