Hey fellas,
I got a
Struts web-based application that basically have to provide user's loggon and in each Action I have to check if this "LOGGED" attribute is set. To do this, I put an user object in the session. But I don't know why it do not work:
1) request.getSession().setAttribute("LOGGED", user);
2)
String sentinel = request.getSession().getAttribute("LOGGED") == null ? "deny" : "allow";
The issue is that in the second step I allways get null
Is there a "Struts-Way" to manipulate the session scope? Any idea?
Tks,