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