`
312350968
  • 浏览: 209049 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论
文章列表
package com.gx.util; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import org.apache.log4j.Logger; /** * 文件操作类 * * */ public class FileUtil { private static final Logger logger = Logger.getLogger(FileUtil.class); private static fi ...
package com.gx.util; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io. ...
Oracle中日期的表示: select to_char(sysdate,'CC WW W D DDD YYYY/MM/DD year month day') FROM DUAL其中CC    为世紀WW 为一年中的周W      为一個月中的周D       为星期几DDD 为一年中的第几天year   为年 month 为月 
oracle主键自动增长的设置   2012-01-05 19:17:50|  分类: 公开经验|字号 订阅    
转自:http://blog.sina.com.cn/s/blog_52fea7b60100wks4.html   1. Class Diagram       2. 实例   package com.siyuan.jdktest; import java.beans.BeanDescriptor;import java.beans.BeanInfo;import java.beans.IntrospectionException;import java.beans.Introspector;import java.beans.MethodDescriptor;import j ...
onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyy年MM月'})"  class="Wdate"
JXL导出EXCEL 表格设置 公式添加相关 import java.io.File; import java.io.FileOutputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.Date; import jxl.Cell; import jxl.CellType; import jxl.Sheet; import jxl.Workbook; import jxl.WorkbookSettings; import jxl.format.Alignm ...
WritableCellFormat headerFormat = new WritableCellFormat(HEADER_FONT_STYLE); //水平居中对齐 headerFormat.setAlignment(Alignment.CENTRE); //竖直方向居中对齐 headerFormat.setVerticalAlignment(VerticalAlignment.CENTRE); //建立标签,参数依次为:列索引、 ...
var currTab =$$('#tabs').tabs('getSelected'); console.info(currTab.panel('options').title);  
onLoadSuccess : function (data) { if (!data.rows) { var body = $(this).data().datagrid.dc.body2; body.find('table tbody').append('<tr><td width="' + body.width() + '" style="height: 25px; text-align: center;">没有数据</td></tr>'); } }  
/* * 选择TAB时刷新内容 */ $('#tabs').tabs({ onSelect : function(title) { var currTab =$('#tabs').tabs('getTab', title); var iframe = $(currTab.panel('options').content); var src = iframe.attr('src'); if (src) $('#tabs').tabs('update', { tab : currTab, options : { ...
在ibatis配置文件写SQL语句的时候对于一些比如“<”,">","<>","&"," ' "," " "是不能够识别的,并且会抛异常。   一般可以如下改写:     &lt;          <     &gt;          >      &lt;&gt;   <>    &amp;      &     &apos;      '    &q ...
public String downloadFile() { try { if (id != null && !"".equals(id) && !"null".equals(id)) { ResourceFile rf = resourceFile.getResourceFile(id); filename = new String(rf.getRealname().getBytes(), " ...
http://haohaoxuexi.iteye.com   http://haohaoxuexi.iteye.com/category/131096
  原文地址:http://haohaoxuexi.iteye.com/blog/1337009   基础部分可以查看我的另一篇博客http://haohaoxuexi.iteye.com/blog/1333271 MyBatis中在查询进行select映射的时候,返回类型可以用resultType,也可以用resultMap,resultType是直接表示返回类型的,而resultMap则是对外部ResultMap的引用,但是resultType跟resultMap不能同时存在。在MyBatis进行查询映射的时候,其实查询出来的每一个属性都是放在一个对应的Map里面的,其中键是属性名 ...
Global site tag (gtag.js) - Google Analytics