We have a whole bunch of code which was developed using VisualAge on Windows NT. Now we are attempting to move these pages to a server running RedHat Linux 7.0, Tomcat 3.1.1, Sun Java 2 SDK 1.3, Apache 1.3.14 + mod_ssl. The following code segment illustrates code that works fine under VisualAge, but fails under Tomcat. When this JSP to JSP code is called it returns a 404 page not found error which seems to indicate a problem with the forward method. Is this a known-problem and if so what is the best work-around.
---------------------------------------------------------
}
else
if (req.getParameter("btnJSPToJSP") != null) {
//call using forward JSP
rd = getServletContext().getRequestDispatcher(sHTMLLocation + "Test2.jsp");
if (rd != null) rd.forward(req, res);
else System.out.println("rd = null");
}
---------------------------------------------------------
Any help is appreciated.
Ross Richey
Webmaster www.aruplab.com
[EMAIL PROTECTED]
