request.getSession(false).setAttribute("count", new Integer(1)); Is it possible to set the count attibute in the session, because we are passing false to the getSeesion()
Paul Santa Maria
posted 10 years ago
Sounds plausible: request.getSession(false) // You're using the *current* session, not creating a new one setAttribute ("current", new Integer(1)); // You should be able to set this attribute just as you would any other
I don't see anything wrong with your approach - it looks OK to me.