[jboss-user] [Beginners Corner] - How Do I Get Value of Or Instatiate

jabailo do-not-reply at jboss.com
Fri Sep 26 15:44:33 EDT 2008

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:


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

More information about the jboss-user mailing list