12 2014 档案

ajax调用action后返回list给list.jsp,显示为xml文档
摘要:struts2中使用的是map来保存数据的,所以这里绑定的值是key和value1 2 3 4 5 6 7 8 阅读全文

posted @ 2014-12-23 19:06 hellofking 阅读(245) 评论(0) 推荐(0)

javascript判断浏览器
摘要:1 function getExplorer() { 2 //IE 3 if (navigator.userAgent.indexOf("MSIE")>=0) 4 { 5 9 }10 //Firefox11 else i... 阅读全文

posted @ 2014-12-23 19:06 hellofking 阅读(127) 评论(0) 推荐(0)

使用poi3.9的jar输出excel
摘要:// 取得模板文件存放的路径ReadFilePath = ServletActionContext.getServletContext().getRealPath(ExcelTemplateFilePath);// 取得临时模板文件存放的路径SaveFilePath = ServletActionC... 阅读全文

posted @ 2014-12-23 19:04 hellofking 阅读(1152) 评论(0) 推荐(0)

access 2007 vba 开发中学到的知识(一)
摘要:使用ado连接本身的数据库,需要先创建一个 adodb.connection的连接对象 Set cn = CreateObject("ADODB.Connection") 数据库的提供者 cn.Provider = "Microsoft.ACE.OLEDB.12.0" CurrentProject.... 阅读全文

posted @ 2014-12-23 19:01 hellofking 阅读(304) 评论(0) 推荐(0)

asp.net 开发时学到的几个小知识点
摘要:如果想在客户端使用js取得控件的值,需要设置ClientIDMode="Static",这样的话在客户端,文本框的id值是txtDate,如果不设置,就会动态的生成,js函数可能会无效。label控件发送到客户端后会变成span 元素0 阅读全文

posted @ 2014-12-15 11:27 hellofking 阅读(391) 评论(0) 推荐(1)

js 日期控件 可以显示为和历
摘要:日期控件的js 1 '; 71 _cs[_cs.length] = ''; 72 _cs[_cs.length] = ' '; 73 _cs[_cs.length] = ' '; 74 _cs[_cs.length] = ' '; 75 _cs[_cs.... 阅读全文

posted @ 2014-12-15 11:05 hellofking 阅读(413) 评论(0) 推荐(0)

导航