摘要: 来自:http://liuwei1578.blog.163.com/blog/static/49580364200991572642653/Jar包冲突问题是在大型Java软件开发中经常遇到的问题,系统开发人员经常会为解决类似的问题耗费大量的时间进行调试和测试,本文根据各种际情况,结合WebSphe... 阅读全文
posted @ 2014-06-09 18:38 hello小象 阅读(5629) 评论(0) 推荐(0)
摘要: 一、dom4jimport org.dom4j.Document;import org.dom4j.DocumentException;import org.dom4j.DocumentHelper;import org.dom4j.Element; Document docu... 阅读全文
posted @ 2014-05-27 10:54 hello小象 阅读(207) 评论(0) 推荐(0)
摘要: ztree前端参见官网http://www.ztree.me/v3/main.phpAction示例public String initLabServerTree(){ return SUCCESS; } public String queryLabServerTr... 阅读全文
posted @ 2014-05-26 17:51 hello小象 阅读(211) 评论(0) 推荐(0)
摘要: 本例使用的xml解析方式为jdom... ...解析xml文件 InputStream xmlFileStream = new FileInputStream(xmlFile); SAXBuilder builder = new SAXBuilder(new XMLReaderSAX2Factory... 阅读全文
posted @ 2014-05-26 17:37 hello小象 阅读(573) 评论(0) 推荐(0)
摘要: package test;import java.awt.Color;import java.io.FileOutputStream;import org.junit.Test;import com.lowagie.text.Chapter;import com.lowagie.text.Docum... 阅读全文
posted @ 2014-05-26 17:22 hello小象 阅读(1559) 评论(0) 推荐(0)
摘要: 使用jacob将word转换成pdf格式1.需要安装word2007或以上版本,若安装07版本学确保该版本已安装2downbank0204MicrosoftSaveasPDF_ XPS,否则安装2downbank0204MicrosoftSaveasPDF_ XPS。office10以上版本自带2d... 阅读全文
posted @ 2014-05-26 17:17 hello小象 阅读(318) 评论(0) 推荐(0)
摘要: 一、编辑模板 替换地方以变量标记如“案件编号”可写成{caseNo} template.xml二、准备数据 以HashMap封装数据,原理是替换模板中的变量三、替换操作 选择输出位置:writePath WordUtil.printWordbyXMLWithOutputPath(templat... 阅读全文
posted @ 2014-05-26 17:06 hello小象 阅读(617) 评论(0) 推荐(0)
摘要: 一、html 表单代码…………二、表单form提交function importFile(){ var excelPath = $("#offenderExcelFile").val(); if(excelPath=="" || excelPath==null){ ... 阅读全文
posted @ 2014-05-26 16:47 hello小象 阅读(498) 评论(0) 推荐(0)
摘要: 一、success : function(data){ var caseInfoView = eval('('+data.caseInfoView+')'); for(var key in caseInfoView){ ... 阅读全文
posted @ 2014-05-26 16:18 hello小象 阅读(355) 评论(0) 推荐(0)
摘要: import java.beans.Introspector;import java.beans.PropertyDescriptor;import java.math.BigDecimal;import java.math.BigInteger;import java.util.ArrayList... 阅读全文
posted @ 2014-05-26 15:55 hello小象 阅读(679) 评论(0) 推荐(0)