-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dave,

David Kerber wrote:
> Christopher Schultz wrote:
>> Take a look at <env-entry> in the web.xml: i think you can just put it
>> there and not put anything in server.xml, which would be better, I think.
>>   
> Doesn't seem to work - my app isn't finding the variable name at all.  I
> think it's because at the point I need the value, the servlet section of
> my app hasn't initialized yet;

<env-entry> elements (in web.xml) ought to be processed before any
servlets are brought into service. I've never actually used <env-entry>,
so make sure that you read all the documentation about it. For instance,
it may or may not automatically add the "java:comp/env" prefix to your
variables.

> just some stuff that I start as soon as the context loads at TC
> startup.  This is for looking for files on disk, which I check every
> minute whether or not anybody has hit my app through the browser.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFulKT9CaO5/Lv0PARAgChAJ9YJV0QyFWVYmwal4PozOPBipKfigCaA36B
kESzwR9omdKYNRI3OuL6JvE=
=eI8b
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to