Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts2 and jsessionid in URL

 
Chhaya Patil
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic