This is so easy to implement yourself it barely even bears discussing.
Create an abstract Action super-class, check to see if cookies are
enabled, and if they aren't, block access and give the user an error
message to that effect. You could have written it in the time you
composed this
]
Sent: Friday, November 15, 2002 10:55 AM
To: 'Struts Users Mailing List'
Subject: RE: Disabling jsessionid parameter in Struts forms
This is so easy to implement yourself it barely even bears discussing.
Create an abstract Action super-class, check to see if cookies are
enabled
]
Subject: RE: Disabling jsessionid parameter in Struts forms
Date: Fri, 15 Nov 2002 10:54:58 -0500
This is so easy to implement yourself it barely even bears discussing.
Create an abstract Action super-class, check to see if cookies are
enabled, and if they aren't, block access and give the user
From Craig McClanahan:
The jsessionid path parameter is indeed added by the call that
Struts
automatically makes to response.encodeURL() when setting up URLs for
you.
Without this automatic feature, you'd have to call encodeURL()
yourself in
order to ensure that your application works when
comments inline
-Original Message-
From: Tom Wadzinski [mailto:twadzins;yahoo.com]
Sent: Thursday, November 14, 2002 3:05 PM
To: [EMAIL PROTECTED]
Subject: Re: Disabling jsessionid parameter in Struts forms
From Craig McClanahan:
The jsessionid path parameter is indeed added
My understanding (and I'd be pleased to be wrong) is that with
non-customized Struts, imposing a rule like this and keeping the
jsessionid always out of the URL is not possible. This seems
restrictive, and perhaps should be re-evaluated.
This is so easy to implement yourself it
PROTECTED]
Subject: Re: Disabling jsessionid parameter in Struts forms
From Craig McClanahan:
The jsessionid path parameter is indeed added by the call that
Struts
automatically makes to response.encodeURL() when setting up URLs for
you.
Without this automatic feature, you'd have to call
You're 100% right, thanks for pointing that out. Requires Servlet 2.3-compliant web
server though.
--joe
-Original Message-
From: Karr, David [mailto:david.karr;attws.com]
Sent: Thursday, November 14, 2002 3:23 PM
To: Struts Users Mailing List
Subject: RE: Disabling jsessionid
On Thu, 26 Sep 2002, Andrew Hill wrote:
Date: Thu, 26 Sep 2002 17:11:41 +0800
From: Andrew Hill [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: Disabling jsessionid parameter
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
: 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
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
2002. szeptember 26. 11:59 dátummal Ori Tend ezt írtad:
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?
If you
13 matches
Mail list logo