aspose file tools*
The moose likes Struts and the fly likes Struts2 and jsessionid in URL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 and jsessionid in URL" Watch "Struts2 and jsessionid in URL" New topic
Author

Struts2 and jsessionid in URL

Chhaya Patil
Greenhorn

Joined: Nov 14, 2008
Posts: 17
Hi,

When i deploy my Struts2 application on Weblogic server; for the first time when the user logs in automatically ;jsessionid=<some value> is put in URL.
The problem is that the web server does not like ; and it gives 403- forbidden page error.

I had no such issue with Struts 1 applications before. Is there a way to stop Struts from putting that jsesionid in URL?

Any help is appreciated,

Thanks.
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Chhaya Patil wrote:When i deploy my Struts2 application on Weblogic server; for the first time when the user logs in automatically ;jsessionid=<some value> is put in URL.
The problem is that the web server does not like ; and it gives 403- forbidden page error.

jsessionid is used when your browser doesn't support cookie and comes into a play when you create a session.
Chhaya Patil wrote:I had no such issue with Struts 1 applications before. Is there a way to stop Struts from putting that jsesionid in URL?

May be your doing something wrong with the way S2 action defined, as S2 has different config than S1.


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts2 and jsessionid in URL