G
Guy Noir
My apologies if this is not the correct forum for this question:
I have a Tomcat server and I'm trying to develop an application that
accesses a SQL server from a java class.
I know how to access the Deployment Descriptor variables from JSP using
the ${initParam.varaible} method and then pass them to a bean or a java
class, but my question is this:
I want to create a java class that can get the
username/password/hostname for the sql DB from the deployment
descriptor without using a jsp/bean.
Is there a method that will allow me access the Deployment Descriptor
variables directly from a java class in my project?
Thanks much
-Aaron
I have a Tomcat server and I'm trying to develop an application that
accesses a SQL server from a java class.
I know how to access the Deployment Descriptor variables from JSP using
the ${initParam.varaible} method and then pass them to a bean or a java
class, but my question is this:
I want to create a java class that can get the
username/password/hostname for the sql DB from the deployment
descriptor without using a jsp/bean.
Is there a method that will allow me access the Deployment Descriptor
variables directly from a java class in my project?
Thanks much
-Aaron