0 Replies Latest reply on Sep 26, 2008 3:44 PM by John Bailo

    How Do I Get Value of Or Instatiate

    John Bailo Master

      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