Using Java app-engine SDK 1.2.2, running locally. 1. My session is enabled in appengine-web.xml : <sessions- enabled>true</sessions-enabled> 2. From a javax.servlet.Filter filtering all requests, I create a user object and set it in the session:
HttpServletRequest httpRequest = (HttpServletRequest) request; HttpSession session = httpRequest.getSession(); // create a user User user = <myfactory>... session.setAttribute(WebConstants.USER_KEY, user); 3. I try to retrieve that object in JSP: User currentUser = (User) session.getAttribute(WebConstants.USER_KEY); -> Result: null Why is this not working? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=.
