You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Richard Diaz <ri...@yahoo.com> on 2002/08/02 10:37:50 UTC
urgent help please!
I hope this is formated well for this list-serv...
problem: application scope objects launched by web.xml
In my Tomcat boot sequence (web.xml file) I am
launching a servlet called InitTwc.
This servlet creates and sets the values for an
application scope object called TwcMaxes. I have
verified that my TwcMaxes object is created in the
application scope and its values are set
(TwcMaxes.iMaxBookmarks = 3).
However once TOMCAT is done booting and when I go to
reference the value in a JSP page OR in another
servlet the value for TwcMaxes.iMaxBookmarks is 0
(zero).
My guess only is that I cannot set values during the
web.xml boot up servlet launch, I hope I am wrong. Any
help is much apprecited. I have been stuck on this for
days =p
Rich Diaz
=====
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>