hi
 ritu

   u can achieve this..
but u mention that u don`t wnat to hard code this then u will write the
database name into file by anoher jsp and read that or u get it from session
or application etc make it clear...

panchal hitesh
(India)



Ritu Kama <[EMAIL PROTECTED]> wrote:
Hi all,

My requirement is as follows:

I have a initialization file containing the database name.
Thru my bean I want to read the DB name and establish connection with that
particular database. I don't want to hardcode the db name.

Please suggest how to achieve this.

Thanks
Ritu

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to