You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by kranthi reddy <kr...@gmail.com> on 2012/04/14 11:59:21 UTC

Jsession ID removal

Hi all,

   I have a web application developed using Struts 2 framework. I have used
data tag "form" to generate forms for my web pages. When I was accessing
the website using the ip address of the machine the forms attributes
generated were perfectly fine. But when i was trying to get the site
hosted, all of a sudden "jsessionid" is getting appended to the tag
attributes. How do I disable this feature ???

Eg : Below is the form which was generated. I would like the
"jsessionid=..." to stripped off and don't want Struts to append it.

<form id="loginAuthenticate;jsessionid=1493BAA552B043A3536A915672D7C25E"
name="loginAuthenticate;jsessionid=1493BAA552B043A3536A915672D7C25E"
action="loginAuthenticate;jsessionid=1493BAA552B043A3536A915672D7C25E"
method="post">


Regards,
kranthi

Re: Jsession ID removal

Posted by kranthi reddy <kr...@gmail.com>.
Yes, the browsers through which I am accessing the site do allow cookies.
This is what is confusing me, because from what I have read on the web says
that If browsers don't allow cookies then jsessionids are appended.

BTW, is the jsessionid added by struts or the my servlet container (tomcat
in my case). And how can I know tht ?

On Sat, Apr 14, 2012 at 5:37 PM, <jl...@gmail.com> wrote:

> Checl if the brower allows cookies for the host
> Sent via BlackBerry from T-Mobile
>
> -----Original Message-----
> From: kranthi reddy <kr...@gmail.com>
> Date: Sat, 14 Apr 2012 15:48:43
> To: Struts Users Mailing List<us...@struts.apache.org>; <
> lukasz.lenart@gmail.com>
> Reply-To: "Struts Users Mailing List" <us...@struts.apache.org>
> Subject: Re: Jsession ID removal
>
> Yes it is set to none in "org/apache/struts2/default.properties" file...
>
> 2012/4/14 Łukasz Lenart <lu...@googlemail.com>
>
> > Check if struts.url.includeParams = none
> >
> >
> > Regards
> > --
> > Łukasz http://www.lenart.org.pl/
> > mobile +48 606 323 122, office +27 11 0838747
> > Warszawa JUG conference - Confitura http://confitura.pl/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
> --
> Kranthi Reddy. B
>
> http://www.setusoftware.com/setu/index.htm
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>



-- 
Kranthi Reddy. B

http://www.setusoftware.com/setu/index.htm

Re: Jsession ID removal

Posted by jl...@gmail.com.
Checl if the brower allows cookies for the host
Sent via BlackBerry from T-Mobile

-----Original Message-----
From: kranthi reddy <kr...@gmail.com>
Date: Sat, 14 Apr 2012 15:48:43 
To: Struts Users Mailing List<us...@struts.apache.org>; <lu...@gmail.com>
Reply-To: "Struts Users Mailing List" <us...@struts.apache.org>
Subject: Re: Jsession ID removal

Yes it is set to none in "org/apache/struts2/default.properties" file...

2012/4/14 Łukasz Lenart <lu...@googlemail.com>

> Check if struts.url.includeParams = none
>
>
> Regards
> --
> Łukasz http://www.lenart.org.pl/
> mobile +48 606 323 122, office +27 11 0838747
> Warszawa JUG conference - Confitura http://confitura.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Kranthi Reddy. B

http://www.setusoftware.com/setu/index.htm


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org

Re: Jsession ID removal

Posted by kranthi reddy <kr...@gmail.com>.
Yes it is set to none in "org/apache/struts2/default.properties" file...

2012/4/14 Łukasz Lenart <lu...@googlemail.com>

> Check if struts.url.includeParams = none
>
>
> Regards
> --
> Łukasz http://www.lenart.org.pl/
> mobile +48 606 323 122, office +27 11 0838747
> Warszawa JUG conference - Confitura http://confitura.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Kranthi Reddy. B

http://www.setusoftware.com/setu/index.htm

Re: Jsession ID removal

Posted by Łukasz Lenart <lu...@googlemail.com>.
Check if struts.url.includeParams = none


Regards
-- 
Łukasz http://www.lenart.org.pl/
mobile +48 606 323 122, office +27 11 0838747
Warszawa JUG conference - Confitura http://confitura.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org