Application scope variable on startup
- From: Srikanth <gsnsrikanth@xxxxxxxxx>
- Date: 26 Apr 2007 14:22:36 -0700
Hi,
I have my own ResourceFactory which returns a bean. I configure this
resource factory in tomcat 5.5 context xm file.
I would like to create a application scope variable on tomcat startup
and assign the value from the bean.method().
Is there anyway we can do it using web.xml?
This can eliminate to create JNDI initialContext in every jsp as I
would be dependent on this application scope variable on each page.
Thanks
.
- Follow-Ups:
- Re: Application scope variable on startup
- From: derek
- Re: Application scope variable on startup
- Prev by Date: TF-IDF algorithm in Java
- Next by Date: Re: Query regarding calling parent's class method which is overridden in child class???
- Previous by thread: TF-IDF algorithm in Java
- Next by thread: Re: Application scope variable on startup
- Index(es):
Relevant Pages
|