I want to use this line of code in a servlet:
javax.servlet.ServletContext context = application.getContext("otherWarName");
But I can't figure out how to set the value of the variable "application" in a JBoss servlet?
Is it built in? How to I set up "application" ?
I got the code from this page:
http://tarlogonjava.blogspot.com/2008/04/how-to-get-context-of-another-war-in.html