Comment #6 on issue 372 by burke.eric: GuiceFilter breaks dispatching to  
jsp if jasper is being used to compile the jsp
http://code.google.com/p/google-guice/issues/detail?id=372

This fails if MyServlet is managed by Guice. If this is just a normal  
unmanaged
servlet configured in web.xml, it works fine:


@Singleton
public class MyServlet extends HttpServlet {
     protected void doGet(HttpServletRequest req, HttpServletResponse res)
             throws ServletException, IOException {
          
req.getRequestDispatcher("/WEB-INF/protected_page.html").forward(req, res);
     }
}

In Tomcat I receive "HTTP Status 404 - /WEB-INF/protected_page.html" with  
description
"The requested resource (/WEB-INF/protected_page.html) is not available."


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--

You received this message because you are subscribed to the Google Groups 
"google-guice-dev" 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-dev?hl=en.


Reply via email to