Just wanna share an experience here: -
I've done various tests and find out that the session ID is the same as they traverse across pages. But, the session.isNew() is always "true". For example: -
BigDecimal bg = new BigDecimal("123");
session.setAttribute("bg",bg);
Object obj=session.getAttribute("bg");
//
test if(session.isNew())
System.out.println("Session is new");
I've placed a similar check on its following
JSP page. And it's new. This is actually not an error as the
Servlet specs did say that isNew() will always return true till the browser has returned to the server.
From the JSP, I check its following Action (perform method) session....again is new! No, this is the problem. How can this be? Something is wrong, huh?
The interesting thing is why it used to work? What's the diff between today and the last time? Ahhhh...I've updated my IE 5.5 to run the latest patch from Microsoft.
Therefore, I've to download another browser to test. I used mozilla.org. True enough....it works. This proof that
Struts and your component is clean and only IE patch sucks.
I think
you should put this mail as one of your support knowledge base.
Gee...this is annoying. I hate Microsoft!!!