I have a Transformer which store an object into the session and thean Action, but the Action only get the name of the attribute, why ?

Here is my action code :
public class MyAction extends AbstractAction implements ThreadSafe
{
public Map act (Redirector redirector, SourceResolver resolver, Map objectModel, String src,
Parameters parameters) throws Exception {
Request req = ObjectModelHelper.getRequest(objectModel);
if (req == null) {
getLogger ().debug ("No request object");
return null;
}


/* check session validity */
Session session = req.getSession ();
if (session == null) {
getLogger ().debug ("No session object");
return null;
} else {

System.err.println("Session is on");
proprietary_Object res = (proprietary_Object)session.getAttribute("resultspace"); ----> res is empty, why that ?
}
return null;
}





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to