I am new to GWT. I am using IntelliJ IDE and trying to create a sample demo 
application based on the following tutorial:

http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html

As suggested in this tutorial, i want to open a Logon page and upon 
successful login, my servlet will forward the request to Host page (that 
contains GWT *.nocache.js script). Following is the sample servlet.

public class LogonServlet extends HttpServlet {
  
  protected void doGet (HttpServletRequest request, HttpServletResponse 
response) throws ServletException, IOException {
    // Check whether user has session or not. If no session then forward to 
logon.jsp
    request.getRequestDispatcher("/Logon.jsp").forward(request, response);
  }

  protected void doPost (HttpServletRequest request, HttpServletResponse 
response) throws ServletException, IOException {
    // Authenticate the user, on successful authentication to go module 
html.
    
request.getRequestDispatcher("/MySampleApplication.html").forward(request, 
response);
  }
}

Now, when i am running my application, i can see the login page. But, when 
i initiates the post request (by submitting a form that contains user id 
and password). I receive "GWT module 'MySampleApplication' may need to be 
(re)complied" error. I am able to go to 'MySampleApplication.html but 
unable to load the GWT module.

Please help.


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to