`
daoshud1
  • 浏览: 550307 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论
文章列表
必须加载的包: freemarker-2.3.16.jar ognl-3.0.1.jar struts2-core-2.2.3.jar xwork-core-2.2.3.jar commons-logging-1.1.1.jar commons-lang-2.5.jar commons-fileupload-1.2.2.jar commons-io-2.0.1.jar javassist-3.11.0.GA.jar
jdbc:informix-sqli://218.57.8.22:9088/sky:INFORMIXSERVER=demo_on;DB_LOCALE=zh_cn.GB18030-2000;CLIENT_LOCALE=zh_cn.GB18030-2000;NEWCODESET=GB18030,GB18030-2000,5488;DBDATE=Y4MD 重点是后面:DB_LOCALE=zh_cn.GB18030-2000;CLIENT_LOCALE=zh_cn.GB18030-2000;NEWCODESET=GB18030,GB18030-2000,5488;DBDATE=Y4MD 原文地址 ...
<script language=javascript> function cs(){ /*@cc_on @*/ /*@if (@_win32 && @_jscript_version>=5) function window.confirm(str){ str=str.replace(/\'/g, "'&chr(39)&'").replace(/\r\n|\n|\r/g, "'&VBCrLf&'&quo ...

Java上传下载

    博客分类:
  • java
利用java Cos下载 String filepath=getRequest().getRealPath("excelpath");//文件绝对路径 String filename=getRequest().getParameter("excel");//获得单个文件名 String guessCharset="gbk"; String path=filepath+"/"+filename; try { // ...

Dtree 带复选框

    博客分类:
  • js
Dtree 带复选框 Dtree 可默认选中 Dtree 默认转到某个ID处,在加载完Dtree之后,使用Dtree的d.openTo(ID);方法,可以在页面打开时,展开该ID
struts2与json整合时 继承了ActionSupport 报错
function window.onbeforeunload(){ alert("关闭"); }
public GetRemoteFile_Client_GoOn(){ } private boolean FileExist(String pathAndFile){//确定文件是否已经下载,但没有下载完成 File file = new File(pathAndFile); if (file.exists()) return true; else return false; } private long FileSize(String pathAndFile){//确定已经下载了的文件大小 ...

java 日期格式化

    博客分类:
  • java
//声明要格式化的字符串 String s="2011-04-17 15:20:56"; SimpleDateFormat sf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); //将字符转为date类型 Date d=sf.parse(s); //声明要转换的格式 SimpleDateFormat sf2=new SimpleDateFormat("yyyy-MM-dd"); //格式化 sf2.format(d)

VML中表示空格

    博客分类:
  • wap
VML中用&#160;来表示空格
在返回的json字符串上加上{success:true,msg:'成功'},这样子就可以了
希望Ext的表格能自适应外层的div大小,但Ext的Grid构造函数的width、height项不支持100%的设置方式,所以改用以下方式初始化: 建立DIV <div id="content"> <div id="grid-example"></div> <div>建立CSS #content { width: 100%; height: 100%; } var grid = new Ext.grid.GridPanel({ store: store, ...

Extjs 集成kindeditor

    博客分类:
  • Ext
var editgg_form=new Ext.form.FormPanel({ labelAlign : 'right', labelWidth : 70, bodyStyle : 'padding:5px', method:"post", frame:true, items:[{ fieldLabel:'标题', xtype:'textfield', width:300 },{ fieldLabel:'时间', xtype:'datefield', width:150, fo ...
目前基本所有浏览器都支持WTAI函数了,WTAI 全称Wireless Telephony Applications Interface ;这个函数最长用的功能是拨打电话功能,并且在不同机型上基本适应差不多了,但是发送短信功能还不大行,很多手机不支持。 下面简单说一下几个常用功能:拨打电话、发送短信、存入电话薄 <a href="wtai://wp/mc;10000">拨打10000电话测试</a>【基本做到通用了】 <a href="wtai://wp/ap;10000;">将10000存入电话簿 </a> ...

pl/sql 中文包

pl/sql 中文包
Global site tag (gtag.js) - Google Analytics