Maurice
unread,Jun 24, 2008, 12:51:27 PM6/24/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
Hi Everyone,
I have a little problem, i'm starting with GWT, and i have been
reading a lot about handling HttpSession objects and RPC calls, but i
haven't been able to solve this so, a little help pease??.
I have a java class that extends from an HttpServlet, in here I put
some attributes to the session using the
request.getSession().setAttribute ("XX", "XX") method, then i just
redirect to a JSP file with a RequestDispatcher.forwad, this jsp file
is created with only GWT widgets, so far everything its ok, now, I
need to fill one of my GWT widgets with information from the
HttpSession object, so I made a RPC call to another servlet with a
method that calls a getThreadLocalRequest().getSession() method, but
it keeps returning me a new session and if i use a getSession (false),
it returns "null" all the time, so the attributes I set beffore are
not there anymore, any idea of what could be happening??
Thanks a lot ...