File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Forwarding a request to another servlet in a different WEB-APP
Joined: Mar 07, 2001
Mar 01, 2002 14:13:00
Can this be done?
Forwarding a request from one
in one web-app (.war file) to another servlet in another (.war) file?
Joined: Jun 28, 2001
Mar 01, 2002 14:28:00
Yep. See ServletContext.getRequestDispatcher(). Matter of fact, you should also be able to use the context's getNamedDispatcher() as well.
Hope that helps.
Scott<br />-----------------<br />SCJP, SCJD, SCWCD<br />XML, UML, WLS6.0
I agree. Here's the link:
subject: Forwarding a request to another servlet in a different WEB-APP
Servlets and Database Connection
absolute URL path problem in jsp:forward ... tag
How to save the servlet response to a file !
difference between Jsp forward and sendRedirect
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014