Hey!
Yep! But I don't use an ini file. The tune goes like this:
Ramma: A helper class that has the DB configuration private parameters.
Lamma: In your servlet you just instantiate the class.
Ding Dong: Then use the classes getters for accessing the privite DB parameters.
Ramma, lamma, ding dong, what was the name of that tune anyway.
E-me, if you are not following, because my suggestion is basic Java and not a servlet
issue.
soumya Govardhana wrote:
> Hi all,
> I'm working on Windows/NT with ServletExec. How to give database connection
>variables outside the servlet? and use them in servlet. Is there any why that store
>these variables in an *.ini file and call them in servlet?
>
> thank you,
> soumya.
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html