不是多修改几个的问题?
只要能够修改就可以拉。

解决方案 »

  1.   

    你确定就是上面的properties文件吗?
    这个简单
    String key="JDBCURL";
    String value="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=xxxxx";//修改后的值
    Properties pro=new Properties();
    pro.load(new FileInputStream("xxx.properties"));//load这个文件
    pro.setProperty(key,value);//修改操作
    pro.store(new FileOutputStream("xxx.properties",null);//保存