GeeCON Prague 2014*
The moose likes EJB and other Java EE Technologies and the fly likes Application scope variable in deployment discriptor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Application scope variable in deployment discriptor" Watch "Application scope variable in deployment discriptor" New topic
Author

Application scope variable in deployment discriptor

Ruchik Bhatt
Greenhorn

Joined: Jul 30, 2002
Posts: 13
hi all,
I m useing Tomcat 4.0 server. I want to set a variable with scope application. Is there a way that i can set it in deployment descriptor ? Or any other method ??
Thank you


SCJP
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
You can specify an application level parameter in your web.xml by using the context-parm element. This is then accessible thru the ServletContext or the implicit JSP application variable.
BTW, this is better off in the Servlets Forum.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Application scope variable in deployment discriptor