This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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
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
 
GeeCON Prague 2014
 
subject: Session Attributes