Hey Guys,

I've seen in another post:

http://groups.google.com/group/google-guice/browse_thread/thread/f06a21d8edac640a/a2015de5b2c58999?lnk=gst&q=forward+#a2015de5b2c58999

that there is an issue forwarding with JSPs. I am having an issue
forwarding from one servlet to another.

I have migrated my servlet to Guice like so:

   serve("/download").with(DownloadServlet.class);

from web.xml:

    <servlet-mapping>
        <servlet-name>DownloadServlet</servlet-name>
        <url-pattern>/download/*</url-pattern>
    </servlet-mapping>

But when I forward (using getRequestDispatcher) to this servlet in
Guice I'm getting a 404, it works fine when in web.xml.

I had the servlet forwarding issue outlined in the discussion above,
and used tchan's "hack" and it solved the jsp forwarding issue, but
I'm stumped on this. Any ideas? Is the "/download/*" pattern in the
web.xml significant in it's difference from the way it is served with
Guice?

Thanks.
--~--~---------~--~----~------------~-------~--~----~
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