Hi,

I have another Problem with the encodeUrl - method used with <FORM
action="">:
Some Servlet Engines (e.g. Apache JServ and JRun) use the Http get-method to
encode the session ID (url?sessionID).
I encode the URL in <FORM action=""> and have some other parameters inside
the HTML-FORM(specified with <INPUT> tags) which should be send with the GET
Request.
If the User submits the Request, the encoded SessionID is overwritten by the
Browser with the paremeters specified inside the FORM-tag. In this case I
loose the session.
Does anybody know a solution for this problem ?

Thanks, peter

-----Urspr�ngliche Nachricht-----
Von: Matteo Manzini <[EMAIL PROTECTED]>
An: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Datum: Dienstag, 12. Oktober 1999 23:38
Betreff: 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