First webapp/JSP

2006-01-08 Thread Thom Hehl
OK, I've looked through the docs and googled and I'm not having any luck with this. I have a brand new servlet for my webapp. I have it connected up and running OK. The problem is the forward to the JSP. I'm getting this error: HTTP Status 404 - /visioneer/WEB-INF/SearchErrors.jsp

Re: First webapp/JSP

2006-01-08 Thread Mark Thomas
Thom Hehl wrote: OK, I've looked through the docs and googled and I'm not having any luck with this. I have a brand new servlet for my webapp. I have it connected up and running OK. The problem is the forward to the JSP. I'm getting this error: HTTP Status 404 -

Re: First webapp/JSP

2006-01-08 Thread Wendy Smoak
On 1/8/06, Mark Thomas [EMAIL PROTECTED] wrote: The servlet spec requires that no resources are served from the WEB-INF directory for security reasons. Move the jsp to /visioneer/SearchErrors.jsp and all should be fine. But he's forwarding to it, which is allowed. I think it should be:

Re: First webapp/JSP

2006-01-08 Thread Thom Hehl
Thanks for the response. I moved my JSPs to /visioneer and modified my forward to: String url = /visioneer/HomeSearch.jsp; RequestDispatcher dispatcher = getServletContext().getRequestDispatcher(url); dispatcher.forward(request, response); And I now get this

Re: First webapp/JSP

2006-01-08 Thread Wendy Smoak
On 1/8/06, Thom Hehl [EMAIL PROTECTED] wrote: String url = /visioneer/HomeSearch.jsp; RequestDispatcher dispatcher = getServletContext().getRequestDispatcher(url); dispatcher.forward(request, response); And I now get this error: *type* Status report

Re: First webapp/JSP

2006-01-08 Thread Thom Hehl
Wow! Thanks, that's it. I started without that, but added it when I was having problems. Thanks again! Wendy Smoak wrote: On 1/8/06, Thom Hehl [EMAIL PROTECTED] wrote: String url = /visioneer/HomeSearch.jsp; RequestDispatcher dispatcher =