my dog learned polymorphism
The moose likes GWT and the fly likes Session Attributes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Session Attributes" Watch "Session Attributes" New topic

Session Attributes

rudreshashok kumar

Joined: Aug 27, 2006
Posts: 16
Hi All,

I am trying to set and get the http sessionattributes, but not able to retrive

a) From servlet1 let us say LoginServlet (normal servlet), i set the a id in session attribute and foward to another servlet which is a GWT remote servlet
b) on the GWT remote servlet, i get the request by getThreadLocalRequest().getSession().getAttribute, this is always null

both servlet are part of same application

am i doing anything wrong?, seems like gwt remote servlet always create new session, can some one help..

I agree. Here's the link:
subject: Session Attributes
It's not a secret anymore!