3 Replies Latest reply: Mar 13, 2008 3:22 AM by rahul_akkina RSS

    How to Aoid \ charcters in the stored properties file

      I m using the code to store into .properties files but it adds \ before : How can i avoid this
      Properties prop = new Properties();
      prop.setProperty("URL", "jdbc:oracle:thin:@:host:port:schema");
      properties.store(new FileOutputStream(db.properties), null);
      But my db.properties files is below
      I want to avoid '\' while storing.