10 2017 档案

摘要:原因在于三款浏览器,对三个属性的处理顺序不同。 Chrome顺序:onclick -> href -> target IE和Firefox顺序:onclick -> target -> href 而我的需求是点击a标签先执行某个方法,然后再打开新的窗口。 a标签这样写,导致chrome 会打开一个窗 阅读全文
posted @ 2017-10-30 15:10 CoderV的进阶笔记 阅读(863) 评论(0) 推荐(0) 编辑
摘要:fileName = new String(fileName.getBytes("ISO8859-1"), "UTF-8"); 或者 阅读全文
posted @ 2017-10-11 01:05 CoderV的进阶笔记 阅读(1281) 评论(0) 推荐(0) 编辑
摘要:在struts2中xml配置如下,以execl文件为例: <result name="success" type="stream"> <param name="contentType">application/vnd.ms-excel</param> <param name="contentDisp 阅读全文
posted @ 2017-10-10 21:31 CoderV的进阶笔记 阅读(233) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示