Wednesday, December 29, 2010

Re: Access http session inside RequestFactory?

If you are asking about RequestFactoryServlet on the server side then
you can use RequestFactoryServlet.getThreadLocalRequest() to access
the current request and then the session.

web.xml has a <servlet-mapping/> associated to requestFactory <servlet/
>: its <url-pattern/> element can be changed to point it to a
different URL.

On Dec 29, 6:32 pm, Arny <arny...@googlemail.com> wrote:
> Hello,
>
> Is there a way to access the session from inside the RequestFactory?
> I want to return elements specifically for users with the right access
> rights.
>
> Using AppEngine on back end.
>
> Another question: Is it possible to change the /gwtRequest URL to
> something else?
>
> Appreciate any help.
> Thanks

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment