|
> From: Bruce Jin > > I have a very simple JSP file (error.jsp) that can be correctly invoked by > http://192.168.0.170/webapp/mrcps/error.jsp > > Then I try to forward to this simple jsp file from a servlet using: > > gotoPage("/webapp/mrcps/error.jsp", req, res); How did you invoke the original servlet? Depending on how you did it, you may not need to include the web application portion of your URL (which in your case is probably the "/webapp" portion). You can forward within a web application without specifying the web application root. I don't actually know how to forward from one web application to another, never tried it. Joe
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.