tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brook Monroe <Brook.Mon...@kineticsusa.com>
Subject JSP path relative to servlet?
Date Thu, 11 Apr 2002 19:02:33 GMT
Now that I've got my servlet's XML parsing largely debugged, it's time to
see some output.

The problem is this (mucho code removed):

	String  target  = "/MySeatMap/seatmap.jsp";
	.
	.
	.
	rd = getServletContext().getRequestDispatcher(target);
	rd.forward(request,response);

I get 404'd, with the error that the JSP file can't be located.  What am I
doing wrong?  (rd is declared, I just left that out.)

jbm!


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message