Shapira, Yoav wrote:
Howdy,


Ok that worked great. I don't get the exceptions anymore but for some
reason it's not pulling the
params from the web.xml.  Any Ideas?

If the code below is taken from a servlet, then this.getInitParameter()
will look for an init-parameter element inside the <servlet> element.
To get a context parameter from a servlet, you do:
String userName = getServletContext().getInitParameter("oracleUser");

By the way, I don't remember if you mentioned what tomcat version you're
using.  But if you're using tomcat 4.x, you web.xml should be compliant
with the 2.3 spec version, not 2.2.

Yeah it's 4.1.18.  /me goes and changes the Spec

Thank you very much Yoav it's now working perfectly

I appreciate the help.


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

Reply via email to