I'm trying to assign a value to the object session :
<@ page session="true">
String var_name = "name";
String var_value = "value";
session.putValue(var_name,var_value);
Then I'm submitting to the same page and trying to read from the session :
String get_val = (String)session.getValue("name");
It always gives me "null".
I'm trying to get session object like that:
"HttpSession session = request.getSession(true)"
But every time I'm calling session.isNew() it returns me "true".
Do you know what's the problem?
thanks