This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I am trying to access a web application that was in different context in the same server (Tomcat 6.0.26). I had writtem below code in server.xml file (Path: \Apache Software Foundation\Apache Tomcat 6.0.26\conf\server.xml).
in the server.xml there is one proerty called crossContext. if you will set it to true, it allows the ServletContext.getContext() method to successfully return the ServletContext for other Web applications running in the same host.