Hi,

encodeURL() encodes the strings in such a way that some unacceptable
characters in the URL are "encoded" to form a new modified string that can
be interperted by the server.  So, you obviously can't use it with <form
action=...>.

Bye,
Subrahmanyam KNVSK
ITL-INFOSYS
Banglore
India

-----Original Message-----
From: Matteo Manzini [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 13, 1999 2:48 AM
To: [EMAIL PROTECTED]
Subject: encodeURL()


Hi.
I'm trying to make my servlet work using HttpServletResponse.encodeURL()
for all my URL (this is due to cookie problem that some browsers can have,
as all of u perfectly know...). At the moment I have some problems and two
questions for the list:
1- Can I use encodeURL() with <form action="myurl" ...> or is it only good
for <a href="myurl" ...>??
2 - Could someone tell me where I can find (on the Internet, I imagine) an
example (I would like to see working java code) of a servlet widely using
this method (encodeURL I mean)?? Tutorials and other things I have already
read are quite simple and vague.
Thanks.
Matteo

___________________________________________________________________________
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

Reply via email to