I think, i am using "development mode". I am using IntelliJ IDE. I tried to 
compile the code but this error is not going anywhere. However, if i run 
MySampleApplication.html directly (not via servlet as mentioned above) then 
application works fine.

On Thursday, March 6, 2014 7:53:04 PM UTC+5, Dominic Warzok wrote:
>
> 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:
>>
>> 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