• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Struts2 and jsessionid in URL

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
It's a pleasure to see superheros taking such an interest in science. And this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic