Properties props = new Properties();
props.setProperty("msgbox", "true");
OutputStream out;
try {
out = new FileOutputStream(this.getClass().getResource("xxxxx.ini").getFile());
props.store(out, "");
} catch (FileNotFoundException e) {
// ignore
} catch (IOException e) {
// ignore
}
props.setProperty("msgbox", "true");
OutputStream out;
try {
out = new FileOutputStream(this.getClass().getResource("xxxxx.ini").getFile());
props.store(out, "");
} catch (FileNotFoundException e) {
// ignore
} catch (IOException e) {
// ignore
}
解决方案 »
- 关于jsp代码
- 断网出现org.springframework.beans.factory.BeanDefinitionStoreException: IOException
- tomcat问题
- 嵌套<s:s:iterator>问题?
- 欠套在jsf标签的a4j event事件和他本身的事件同时需要用时怎么办?
- 使用Hibernate3插入数据出错
- 有泪无处流_1
- struts+spring整合,模拟用户登录验证。出现问题。求大神教下
- 用DOM读取WEB-INF/DBconfig.xml配置文件,必须要指明绝对路径?不能用相对路径?
- 是不是把struts例子的*.war直接拷贝到Tomcat里webapps就行了
- 如何使用HibernateTemplate来执行一条批量处理语句,在线等,急。。。。
- servlet转向jsp后css不能启作用
同意楼上的