|
The servlet is in the default web application and the JSP is in another web application. Maybe that's the problem. The original servlet is invoked by http://192.168.0.170/servlet/OrgServlet Bruce ----- Original Message ----- From: "Joe Pluta" <joepluta@PlutaBrothers.com> To: <java400-l@midrange.com> Sent: Thursday, March 28, 2002 9:17 AM Subject: RE: Forwarding request error in iSeries/WebSphere. > > 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 > > _______________________________________________ > This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list > To post a message email: JAVA400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l > or email: JAVA400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/java400-l. > >
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.