This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
The getContext method takes a string. This is the URI to a different ServletContext running within this container. Once you have this reference you can then call getRequestDispatcher on that context and dispatch requests to servlets running in other web apps. Now, i) this is probably not a good idea ii) Containers may prevent this for security reasons
Kevin Jones<br />Author: <a href="http://www.amazon.com/exec/obidos/tg/detail/-/0321136497/jranch-20" target="_blank" rel="nofollow">Servlets and JSP: The J2EE Web Tier</a>