![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java之shurts
文章平均质量分 73
磐石啊
这个作者很懒,什么都没留下…
展开
-
Email 代码
package com.tempus.userCenter.utils;import java.util.Properties;import javax.mail.MessagingException;import javax.mail.internet.MimeMessage;import org.apache.log4j.Logger;import原创 2013-09-29 17:48:02 · 2353 阅读 · 0 评论 -
java 基础常用的 方法
zejun.zhou zejun.zhou11// List listValue = null;// // for (int i = 0; i // listValue = new ArrayList();// testEX test = new testEX();//// listValue.add(test.getIi() + "dd" +原创 2013-11-08 15:29:47 · 1075 阅读 · 0 评论 -
完整的extjs 查询 脚本
Extjs 完整的一个查询脚本if ("查询".equals(buttonList.get(i).getFunctionName())) { buttonSbf.append("iconCls:'queryIcon',\n"); buttonSbf.append("handler:function(){queryRecord(store);}\n"); }---原创 2013-11-05 16:11:28 · 1137 阅读 · 0 评论 -
js ajax ext jquery sturts 常见脚本
Extjsext导入 工单导入cookie 创建Ext.state.Manager. public static void main(String[] args) { Calendar calendar = new GregorianCalendar(); String N = calendar.get(Calendar.YEAR)+""; String Y = ca原创 2013-11-05 15:26:43 · 1033 阅读 · 0 评论 -
extjs 常见脚本
extjs//设置为同步dwr.engine.setAsync(false); //查询Form高度 var queryFormWidth=110; //共用参数 var params={ gridParams:[ {name:"id",type:"renderer",header:"ID",ishref:"false"},//第一个暂定为主原创 2013-11-05 15:24:43 · 851 阅读 · 0 评论 -
常见sql
select t.id ,t.gdtype,t.tsfrom, '1' as type from COMPLAINTS t where t.tsfrom='QQ'union select t.id ,t.gdtype,t.tsfrom, '2' as type from COMPLAINTS t where t.tsfrom='QQ';SELECT distinct new C原创 2013-10-21 16:20:41 · 756 阅读 · 0 评论 -
sql 两个时间 的where 条件
列名 gdtime select * from 表名 where gdtime>= to_date("yyyy-MM-dd","开始时间") and gdtime原创 2013-10-18 11:05:19 · 2941 阅读 · 0 评论 -
ext js 实现 查询 删除(ext js )
1、页面引入类src="${ctx}/dwr/interface/FxCustomerService.js">src="${ctx}/dwr/interface/TempusCompanyManager.js">src="${ctx}/js/usercenter/fx/fxCustomer.js">2.、页面js 代码//设置为同步 dwr.en原创 2013-09-29 17:28:26 · 884 阅读 · 0 评论 -
报表之 3d 查询 导入导出
1 、页面代码 String department = String.valueOf(request.getAttribute("department"));String person = String.valueOf(request.getAttribute("person"));%>原创 2013-09-29 17:44:57 · 1470 阅读 · 0 评论 -
excel 导入
//导入 function importRecord(store) { window.showModalDialog("${ctx}/fx/fxcustomer!importExcel"+"?rnd="+Math.round(Math.random()*10000),"","dialogWidth:"+650+"px原创 2013-10-09 16:11:13 · 810 阅读 · 0 评论 -
excel 标题出现乱码时候可以在tomcat中设置
xml version="1.0" encoding="UTF-8"?> - Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work原创 2013-10-09 16:01:57 · 998 阅读 · 0 评论 -
excel 下载模板
下载模板public void importSuccess() throws Exception { try{ HttpServletResponse response = Struts2Utils.getResponse(); //重置响应 response.reset();原创 2013-10-09 15:59:15 · 777 阅读 · 0 评论 -
报表 导入 导出通用类
package com.tempus.modules.orm.hibernate;import java.io.OutputStream;import java.io.Serializable;import java.lang.reflect.Field;import java.util.ArrayList;import java.util.Date;import原创 2013-10-09 09:17:04 · 982 阅读 · 0 评论 -
jxl操作(读、写)Excel例子 http://www.360doc.com/content/11/0422/14/6728052_111517688.shtml
首 页阅览室馆友我的图书馆登录注册jxl操作(读、写)Excel例子收藏人:澈丹2011-04-22 | 阅: 转: | 分享转载 2013-10-09 10:45:45 · 1720 阅读 · 0 评论 -
web service 具体步骤
手写webservice步骤web配置http://localhost:8181/UserCenter2/SupplierHttpPortPort?wsdlweb.xml interfaceServlet /SupplierHttpPortPort JAX-WS endpoint - interfaceServlet interface原创 2013-11-08 15:58:58 · 912 阅读 · 0 评论