GuiceModule:
serve("/file").with(FileServlet.class);

Navigating to <localhost:port>/test/file gives me a 404

I know for a fact my listener is being called.

As a control, I have one explicitly mapped Servlet which works fine at
<localhost>/test/simple

My web.xml:

<filter>
    <filter-name>guiceFilter</filter-name>
    <filter-class>com.google.inject.servlet.GuiceFilter</filter-class>
  </filter>

  <filter-mapping>
    <filter-name>guiceFilter</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>
  <listener>
        <listener-class>billco.test.guice.GuiceListener</listener-class>
  </listener>

  <servlet>
          <servlet-name>SimpleServlet</servlet-name>
          <servlet-class>billco.test.SimpleServlet</servlet-class>
  </servlet>
  <servlet-mapping>
          <servlet-name>SimpleServlet</servlet-name>
          <url-pattern>/simple</url-pattern>
  </servlet-mapping>

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en.

Reply via email to