Did you use the "development mode" or "super dev mode" ?
-- If not you have to run google Compile. In eclipse you have to rightclick the projectfolder than google -> google compile.
Greets
Dominic
On Thursday, March 6, 2014 3:39:40 PM UTC+1, Owais Zahid wrote:
On Thursday, March 6, 2014 3:39:40 PM UTC+1, Owais Zahid wrote:
I am new to GWT. I am using IntelliJ IDE and trying to create a sample demo application based on the following tutorial: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.jsprequest.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+unsubscribe@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.
No comments:
Post a Comment