you need add "<sessions-enabled>true</sessions-enabled>" to your"appengine-web.xml" file in WEB-INF directory.
look this: http://code.google.com/appengine/docs/java/config/appconfig.html#Enabling_Sessions 2010/2/26 bhomass <[email protected]> > when I use getThreadLocalRequest().getSession() in a servlet > implementation to handle rpc, I get a IllegalStateException when I > call > > httpsession.setAttribute(...) > > anyone knows why? > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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-web-toolkit?hl=en.
