Take a look at these classes:
http://www.java.sun.com/products/jdk/1.2/docs/api/java/net/URLEncoder.html
http://www.java.sun.com/products/jdk/1.2/docs/api/java/net/URLDecoder.html
-----Original Message-----
From: yaya [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 7:47 PM
To: [EMAIL PROTECTED]
Subject: encodeURL Function???
Hi all,
Is there a JSP encodeURL function available that will properly convert all
special characters in a URL to special codes? I want to convert '&' to '%26'
and then '%26' to '&' or 'blank space' to '%20' and then' %20' to 'blank
space' without having to embed a javascript engine in the application server
(for the escape/unescape functions).
thank's
-yaya-
===========================================================================
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