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
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
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
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Forwarding a request to another servlet in a different WEB-APP
Servlets and Database Connection
absolute URL path problem in jsp:forward ... tag
difference between Jsp forward and sendRedirect
How to save the servlet response to a file !
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014