I have two web application running on two different versions of Tomcat. App1 is on Tomcat5 and App2 is on Tomcat6. Is there any way, so that I can make a communication among these two. For example - If there is a JavaScript file in App2/js/mycode.js, then I would like to refer this from App1/page/mypage.jsp. For both applications I have defined context as -
App1.xml (Tomcat5\conf\Catalina\localhost)
<Context path="/App1" docBase="C:/eclipse/workspace/App1" debug="0">
</Context>
App2.xml (Tomcat6\conf\Catalina\localhost)
<Context path="/App2" docBase="C:/eclipse/workspace/App2" debug="0">
</Context>