On 5/21/06, Chris Hostetter <[EMAIL PROTECTED]> wrote:
: I just wanted to make sure that JNDI was really the right way to go... : Using those Context xml files in Catalina/localhost would also work : with init-params AFAIK. Aren't init-params and context-params required to be specified in the web.xml?
I meant context-param, not init-param. I brought it up because Tomcat also allows one to specify context-params outside the webapp. http://tomcat.apache.org/tomcat-5.5-doc/config/context.html (search down for context-param). The upside to context-param is that it's a mandatory part of the servlet spec. Is there an advantage to the JNDI approach? Is there an appserver that allows setting java:comp/env from outside the webapp but doesn't allow setting context-params? -Yonik