Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Backslash problem in property file

807589Jul 11 2008 — edited Jul 11 2008
I have to read and update a value of a key in the property file.The value that the key holds is a url.or that i have used load and store method of property class.
But the problem is each time it writes back to property file a backslash is placed before (:) and the url becomes useless.
scp.dir=oracle@168.125.190.42:/opt/oracle/product
becomes
scp.dir=oracle@168.125.190.42\:/opt/oracle/product
so i want to know is there any way to solve this problem.Do i want to read and write property file in any other way to avoid this problem
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 8 2008
Added on Jul 11 2008
3 comments
2,425 views