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

------------------------------------------------------------------------

*type* Status report

*message* _/visioneer/WEB-INF/SearchErrors.jsp_

*description* _The requested resource (/visioneer/WEB-INF/SearchErrors.jsp) is not available._

------------------------------------------------------------------------

Here is the URL that calls my servlet:

http://localhost:81/visioneer/controller

And here is the code in my servlet:

   public void doGet(HttpServletRequest request,
                     HttpServletResponse response)
     throws IOException, ServletException
   {
       //retrieve the session
       HttpSession session = request.getSession();

       String act=request.getParameter(PARM_ACTION);

       if(act==null)
       {
           String url = "/visioneer/WEB-INF/SearchErrors.jsp";
           RequestDispatcher dispatcher =
                   getServletContext().getRequestDispatcher(url);
           dispatcher.forward(request, response);
           return;
       }
}

And in my tomcat directory, I have webapps/visioneer/WEB-INF/SearchErrors.jsp.

I have also tried my forward as: "/visioneer/SearchErrors.jsp"

I don't know what to try next and need advice.

Thanks.


Thom Hehl
Heavyweight Software for Heavyweight Needs
www.heavyweightsoftware.com
--
"In every revolution, there is one man with a vision."--Jerome Bixby



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to