• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Properties File reading

 
Aravind Prasad
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Ranchers,
I'm doing a project in JSP and MySQL. For the JSP-MySQL connection , I'm now writing the connection statments in each and every time when I want to insert,delete, update of select the database queries. If I change the MySQL root password, it will affect the coding completely.. So Instead of that I want to put properties file to store the

MySQL database
Username
Password

Please help me by sending some links where I can read and master about Properties file.

Regards

Aravind Prasad
 
Jan Cumps
Bartender
Posts: 2608
14
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aravind,

I think the Java in General (beginner) is more appropriate for questions on the use of property files.

Regards, Jan
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might start by reading Java Tutorial: Properties.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic