title: GWT formpanel does not call onSubmitComplete
body: <p>GWT: I can call the servlet in browser. When I call it by formpanel, it can call onSubmit. But it does not call onSubmitComplete. It wil also popup a new window, the uri is my servlet.</p>
  
  <pre><code>String URL= GWT.getModuleBaseURL()+"getType";
           FormPanel formPanel = new FormPanel();  
           formPanel.setAction(URL); 
           formPanel.setEncoding(FormPanel.ENCODING_URLENCODED);  
           formPanel.setMethod(FormPanel.METHOD_GET); 
  
       formPanel.addSubmitHandler(new SubmitHandler(){
  
          @Override
          public void onSubmit(SubmitEvent event) {
              // TODO Auto-generated method stub
              System.out.println(event.getSource());
          }
  
       });
       formPanel.addSubmitCompleteHandler(new FormPanel.SubmitCompleteHandler() {  
              public void onSubmitComplete(SubmitCompleteEvent event) { 
                  System.out.println("in");
                  System.out.println(event.getResults());  
              }  
          });  
       formPanel.submit();
  
  GWT.xml
   &lt;servlet class="msp2.server.getType" path="/getType" /&gt;  
  
  
  web.xml
      &lt;servlet &gt;
  &lt;servlet-name&gt;getType&lt;/servlet-name&gt;
      &lt;servlet-class&gt;msp2.server.getType&lt;/servlet-class&gt;
  &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;getType&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/msp2_app/getType&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  </code></pre>