A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
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
It is sorta covered in the
JavaRanch Style Guide
subject: Forwarding a request to another servlet in a different WEB-APP
absolute URL path problem in jsp:forward ... tag
How to save the servlet response to a file !
Servlets and Database Connection
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