You are correct about encodeURL() - this is when the sessionId is appended. The sessionId is part of the servlet API session tracking mechanism , and as you have noticed is appended to the URL when not using cookies. (When using cookies it is instead stored in a cookie). If you do not include the sessionId , you will not be able to make much use of session scope in your website (as each request will get a new session). If you dont need to use session scope to keep track of anything, this probably won't be a problem (I think - unless struts itself needs it for certain things?). As for actually disabling the appending of sessionId I am afraid I have no idea how you might achieve it with regards to the struts tags.
-----Original Message----- From: Ori Tend [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 17:59 To: 'Struts Users Mailing List' Subject: RE: Disabling jsessionid parameter in Struts forms Thanks for the reply! I'm not sure I understand.. if I use in my JSP the standard <form> tag I dont get this jsessionid parameter when browsing to the page. Is there a way to use struts' <html:form> tag and not get this jsessionid? I suspect that the jsessionid is added to the url by calling EncodeURL() at the struts taglib. I know that this may introduce problems to cookie-disabled visitors, but I don't want the jsessionid to appear. Thanks! -----Original Message----- From: Gemes Tibor [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 10:50 AM To: Struts Users Mailing List Subject: Re: Disabling jsessionid parameter in Struts forms 2002. szeptember 26. 11:42 d�tummal Ori Tend ezt �rtad: > When using the <html:form> tag, and whenever the session is cookie > disabled, Struts automatically puts a "jsessionid=..." in the URL string > for cookie-disabled session tracking. > I dont want have the "jsessionid=..." in the URL, but I do want to keep > using the Struts taglib. > Does anyone know how to diable the "jsessionid=..." in the URL ? Enable cookies in your browser. If you don't have the jsesisonid appended AND cookies enbled, you have to authorize yourself for each request and I guess this isn't what you want. Tib -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

