Did you try java.net.URLEncoder.encode( ) ?
Philippe
= = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Philippe Bertramo
World Customs Organization
Brussels - Belgium
-----Original Message-----
From: Balamurali A. [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 10, 2000 15:07
To: [EMAIL PROTECTED]
Subject: URL, Encoding
How should i encode my URL in Servlets.
Here is an example.
http://www.mapquest.com?street=W Plum St.&state=Ft. Collins. .....
it works fine in IE and dose'nt work with Netscape...
Its there any other way to encode the URL?
Any help is appriciated.
Thanx in advance.
Bala
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
___________________________________________________________________________
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