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
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 -
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:
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
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
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 =