dcsimg
Problem while reading my own .properties file.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Wednesday, March 6, 2002 06:31 AM

When I use java.util.properties to read and write my own properties file, I am able to get the values from the property file. But the values which I am setting are directory path (Ex: C:somedirseconddir). I am getting the value as C:somedirseconddir without slashes. How to get the directory seperators while reading from property file.

Re: Problem while reading my own .properties file.

Posted By:   Tonio_Caputo  
Posted On:   Wednesday, March 6, 2002 06:43 AM

Remember "" character is the "escape"
character (recall "
", " ", etc...)

If you need to write de bask-slash character
you must escape it, example:

C:\rootdir\mydir.

Hope that helps.

About | Sitemap | Contact