Hi,

I just tried it, and it works for me (GWT 2.0.2, running on the
included server in Eclipse). getAttribute can then successfully
retrieve the value.
Are you getting the Exception when accessing the Servlet from a
browser, or are you calling the Servlet method from a test case?

Chris

On Feb 26, 6:50 am, bhomass <[email protected]> wrote:
> I am not running on the appengine, just my eclipse IDE. anything I
> have to do for that?
>
> On Feb 25, 8:15 pm, gao zhenyu <[email protected]> wrote:
>
>
>
> > 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#Enab...
>
> > 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%2Bunsubs
> > >  [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.

Reply via email to