aspose file tools*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Session Attributes" Watch "Session Attributes" New topic
Author

Session Attributes

rudreshashok kumar
Greenhorn

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..

Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Session Attributes