This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have two on context in the tomcat 4.1 server. When I run the application in first context. (e.g) login validation should be done in the application in the other context and the application in the Second context should be loaded How can in do this.
Regards,Vasantha<p>Great minds discuss ideas. Average minds discuss events. Small minds discuss people.
You can get the ServletContext of another web application by calling
where uripath is the context path of the other web application. You can subsequently call getRequestDispatcher(path) on this context and forward the request to the appropriate resource on the second context.