how to read and update the value of property file

Hi,

I am not able read the values from property file.

Please tell me how to read and update the values from property file using Properties class

This is my property file : - Config.properties its located in D:\newfolder

Values

--

SMTP = localhost

Now i need to change the value of the SMTP

New value :

SMTP =10.60.1.9

Pls Help me

Thanks

Merlin Rosina,

[438 byte] By [MerlinRosinaa] at [2007-11-27 11:40:22]
# 1

what error are you getting?

SoulTech2012a at 2007-7-29 17:31:29 > top of Java-index,Java Essentials,Java Programming...
# 2

Post a small (<1 page) example program that forum members can copy and run that demonstrates your problem.

BigDaddyLoveHandlesa at 2007-7-29 17:31:29 > top of Java-index,Java Essentials,Java Programming...