GWT has easy ways to access the HttpSession through the request in the
normal way: getThreadLocalRequest

On Jul 8, 5:39 am, 任胜韦 <slayersxi...@gmail.com> wrote:
> under jsp + servlet,  I usually set the username into session,then in the
> servlet  writes code like:
> request.getSession().getAttribute(username)  , I can easily get the username
>
> but in the GWT 'RPC , we see no request(also response).is it mean: I have to
> give the username from client side as the RPC service'parameter everytime?
>
> --XiaoR
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to