RequestDispatcher didn't work (for me.) I have a
servlet that accepts GET/POST
parameter called doorId and based on that doorID.. the servlet (WebGate) must forward the request
to a specific
JSP file under the WebGate Doors (see below).
If I type
http://192.168.1.11:8080/testbed/servlet/test.WebGate?doorId=1 the servlet
should have forward the request to door1.jsp (see below). But
Tomcat display a 404 error
Tomcat said:
HTTP Status 404 - /testbed/jspTest/WebGate/doors/door1.jsp
type Status report
message /testbed/jspTest/WebGate/doors/door1.jsp
description The requested resource (/testbed/jspTest/WebGate/doors/door1.jsp) is not available.
[/QUOTE>
But /testbed/jspTest/WebGate/doors/door1.jsp actually exists...
My Development Environment:
APP ROOT: http://192.168.1.11:8080/testbed/
WebGate Doors: /testbed/WebGate/doors/
Available files under /testbed/WebGate/doors/
-rw-r--r-- 1 root root 85 Mar 12 15:26 door1.jsp
-rw-r--r-- 1 root root 85 Mar 12 15:26 door2.jsp
-rw-r--r-- 1 root root 85 Mar 12 15:26 door3.jsp
-rw-r--r-- 1 root root 85 Mar 12 15:26 door4.jsp
-rw-r--r-- 1 root root 106 Mar 12 15:27 doorCATC.jsp
Learning new things, I LIKE!<p>---certification---<br />none so far, experience (considerable, yeah)