Back Forum Reply New

fromSession

Hi

I am trying out Spring MVC, but have come across an issue when storing state in the Session.

I have two controllers.  One that is called on the first request, which sets up the session with some data which is retrieved for display on the JSP that follows.  This bit works fine - the JSP finds the data in the session and displays it.  On the JSP, there is a form which I submit, which invokes the second controller.  This controller looks to find the session but one isn't returned - where did it go?!!!

fyi
* I am running under RAD 6/WebSphere.
* I am not using acegi, or privacy functions to stop cookies being set in the browser.

Any help will be appreciated.

Regards

Brett

I have no idea...

Maybe config and code will help clarify things.

And please use [ code ] tags when you are going to post parts of your code/config.

How do I delete posts ;-)

I checked the server and found the cookie path was set to a different context for the cookies.

Sorry for wasting your time, but thanks for the rapido response.

regards

Brett
¥
Back Forum Reply New