Dear Tomcat developers,

I have a need to access web context info (such as name, physical path)
from my various JNDI object factories. I was going through Tomcat 5.5
code and found that you publish repository info under comp:env/Resources
and it has all required information. Could you please tell me if it is a
right way to access web context info from classes which know nothing
about web context (such as JNDI object factories) or should I use some
other method.

With tomcat 4 I could not find any way to do it so I had to use a
context listener to build context info and publish it as context
Environment entry to be looked up by whoever is interested. I hope there
is a better way of doing it with tomcat 5.5 Please advice


Thank you very much for your assistance

Alex Roytman

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to