Good question. You will be happy to hear that the answer is yes, although it depends a lot on how your servlet container is configured.Executed using the JSTL tag <c:import>, which has an optional attribute context, which is defined as:
The context name (starting with a) of some other local web application to import the resource from.
Say you have a webapp. Deployed under the context root /A, and webapp B is deployed to /B, then JSP in can include x.jspfrom B using:
<c:import context="/B" url="x.jsp"/>
, , . , Tomcat crossContext true.