title: GWT Fileupload Using Servlet with GUICE
body: <p>We are using GWTP with Guice.  I want to upload a file. For that I have written a Servlet.    </p>
  
  <p>I am using this <a href="http://examples.roughian.com/index.htm#Widgets~FileUpload" rel="nofollow">GWT File UPload Example</a>. But Servlet is not getting called. I think its the problem with GuiceFilter.
  Below is my web.xml entry.</p>
  
  <hr>
  
  <h2>Web.xml</h2>
  
  <pre><code>&lt;listener&gt;
          &lt;listener-class&gt;com.nextenders.server.guice.GuiceServletConfig&lt;/listener-class&gt;
      &lt;/listener&gt;
  &lt;filter&gt;
      &lt;filter-name&gt;guiceFilter&lt;/filter-name&gt;
      &lt;filter-class&gt;com.google.inject.servlet.GuiceFilter&lt;/filter-class&gt;
  &lt;/filter&gt;
  
  &lt;filter-mapping&gt;
      &lt;filter-name&gt;guiceFilter&lt;/filter-name&gt;
      &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
  &lt;/filter-mapping&gt;
  
  
  &lt;servlet&gt;
      &lt;servlet-name&gt;FileUploadServlet&lt;/servlet-name&gt;
      &lt;servlet-class&gt;com.nextenders.server.guice.actions.FileUploadServlet&lt;/servlet-class&gt;   
  &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;FileUploadServlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/upload/fileUpload&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  </code></pre>
  
  <p>Any pointers would be great help.</p>