Try, java.net.URLEncoder.encode(String)
if not mistaken!
Rao Manekar
<[EMAIL PROTECTED] To: [EMAIL PROTECTED]
ATE.GA.US> cc:
Sent by: A Subject: URLEncode
mailing list
about Java Server
Pages
specification and
reference
<JSP-INTEREST@jav
a.sun.com>
06/30/00 10:50 PM
Please respond to
A mailing list
about Java Server
Pages
specification and
reference
Hello
In ASP there is a function Server.URLEncode(String).
Is there an equivalent function in JSP?
I am trying to send a string to server without any spaces or other
unacceptable characters, like &, in it.
Thanks in advance!
Rao
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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
Kian Lee Ooi
Software Engineer
e-Business Exchange Pte. Ltd
Tel: (604) 890-8143 Ext: 166
Fax: (604) 890-1771
E-Mail: [EMAIL PROTECTED]
---
Disclaimer:
Confidential information may be contained in the e-mail and any files
transmitted with it ('Message'). If you are not the addressee indicated in
this Message (or responsible for the delivery of this Message to such
person), you are hereby notified that any dissemination, distribution,
printing or copying of this Message or any part thereof is strictly
prohibited. In such a case, you should delete this Message immediately and
advise the sender by return e-mail. Opinions, conclusions and other
information in this Message that do not relate to the official business of
e-BX nor any of its related companies shall be understood as neither given
nor endorsed by e-BX nor any of its related companies.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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