Re: Very Strange 404 to JSP with getRequestDispatcher().forward()

2015-12-24 Thread Konstantin Kolinko
2015-12-24 18:12 GMT+03:00 Marc Boorshtein : >> >> You have to provide the actual source code. >> >> There is an example in the examples webapp that performs forwarding to >> a JSP and it works, >> >> \webapps\examples\WEB-INF\classes\ServletToJsp.java >> >> > So the good

Re: Very Strange 404 to JSP with getRequestDispatcher().forward()

2015-12-24 Thread Marc Boorshtein
> > > > Your request wrappers store their own reference to a > HttpServletRequest in addition to the one stored by the > ServletRequestWrapper class. > > > My guess is that your issue will be solved if you either override > ServletRequestWrapper.setRequest() to update your request field, or > use

Very Strange 404 to JSP with getRequestDispatcher().forward()

2015-12-24 Thread Marc Boorshtein
All, I'm having a very strange issue with request.getServletContext().getRequestDispatcher().forward(). It gives me a 404 on a JSP page that if I go to directly, works fine. This is with tomcat 8.0.30 on OSX on JDK : ava version "1.7.0_65" Java(TM) SE Runtime Environment (build 1.7.0_65-b17)

Re: Very Strange 404 to JSP with getRequestDispatcher().forward()

2015-12-24 Thread Konstantin Kolinko
2015-12-24 17:37 GMT+03:00 Marc Boorshtein : > All, > > I'm having a very strange issue with > request.getServletContext().getRequestDispatcher().forward(). It gives me > a 404 on a JSP page that if I go to directly, works fine. This is with > tomcat 8.0.30 on OSX on JDK :

Re: Very Strange 404 to JSP with getRequestDispatcher().forward()

2015-12-24 Thread Marc Boorshtein
> > You have to provide the actual source code. > > There is an example in the examples webapp that performs forwarding to > a JSP and it works, > > \webapps\examples\WEB-INF\classes\ServletToJsp.java > > So the good news is that I got it to work by getting rid of any of the methods that were