RemoteServiceServlet
getThreadLocalRequest().getSession().setAttribute("username", username);
requestDispatcher = getThreadLocalRequest().getRequestDispatcher("/LoginServlet");
requestDispatcher.forward(getThreadLocalRequest(), getThreadLocalResponse());
LoginServlet
String username = (String) session.getAttribute("username");
// do some db stuff & set new session data
session.setAttribute("userEmail", userEmail);
RemoteServiceServlet
getThreadLocalRequest().getSession().getAttribute("userEmail")
<MFRequest>
<Request type='SaveSettings' data=''/>
<UserPrefs download_pref='../' email_pref='yes' decompress_pref='no' password_pref='no'/>
</MFRequest>
--
You received this message because you are subscribed to a topic in the Google Groups "GWT Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/rR0liCZDSl4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-tool...@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
GWT RPC may not be supported beyond GWT 2.8, so I'd be wary of using it for a new project now.
Paul
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.
<?xml version="1.0" encoding="ISO-8859-1"?>now looks like (from the front-end)
<MFRequest>
<Request type='Login' data=''/>
<Login username='sam' password='test'/>
</MFRequest>
<MFResponse>
<Response type='Login'>
<Login name='Sam' session='CF66F005071BD0BC4F0B4D089A4F191A'/>
</Response>
</MFResponse>
server.loginUser(userName, password, repo);
--
--
--