09 2016 档案
jdbc-oracle-字符集-乱码
摘要:本地的数据库是oracle.字符集是WE8ISO8859P1,提取过来的值是乱码。实现办法:插入一条记录: Connection conn=null; PreparedStatement pstmt = null; try { String strSql="insert into tabA(A,B) 阅读全文
posted @ 2016-09-28 10:43 爱丹1219 阅读(1713) 评论(0) 推荐(0)
解决form提交时又弹出页面的问题
摘要:form.target="targetIframe"; 然后将这个iframe display掉 <iframe id="targetIframe" name="targetIframe" style="display:none" > </iframe> 阅读全文
posted @ 2016-09-12 14:33 爱丹1219 阅读(243) 评论(0) 推荐(0)
2007版本excel多个sheet页数据通过ibatis批量导入数据库
摘要:页面部分 <form method="post" name ="test" enctype="multipart/form-data"> <input type="file" name="file"/> </form> 实体类部分 public Class Test{ private String 阅读全文
posted @ 2016-09-12 11:43 爱丹1219 阅读(153) 评论(0) 推荐(0)