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 > > *message* _/visioneer/HomeSearch.jsp_
In general, you should not be hard-coding the name of the context in your app. http://tomcat.apache.org/tomcat-5.5-doc/servletapi/javax/servlet/ServletContext.html#getRequestDispatcher(java.lang.String) "The pathname must begin with a "/" and is interpreted as relative to the current context root." So leave off the 'visioneer' part, (which is the context name,) start with / and then give the path to the resource, depending on where you moved it to. HTH, -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]