• Post Reply Bookmark Topic Watch Topic
  • New Topic

can I define two property files in a web application  RSS feed

 
raju sangam
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I'm working on web application which uses multiple connection to interact with different data bases.
It has only one property file described about only one database
(consist url,host,driver,usrname,pwd..).

Can I define multiple property files for each individual database.
If yes, how can i make use in application.
please help me out this issue ASAP.

Regards,
Sangam
Can I use
[ July 16, 2007: Message edited by: raju sangam ]
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It should be no problem to use several properties files, or even to keep the data for several databases in a single file. How are you accessing the file you have now?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!