I want to use this line of code in a servlet: anonymous wrote : 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 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179142#4179142 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179142 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user