| 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.
|
 |
 |
|
|
subject: Application scope variable in deployment discriptor
|
|
|