摘要:
2. 3. 阅读全文
摘要:
之前并没有做过编码控制,汉字也不会出现问题,唯独某些特殊符号会出乱子! 阅读全文
摘要:
1 ActionConfig config = 2 ActionContext.getContext() 3 .getActionInvocation().getProxy().getConfig(); 4 ResultConfig resultconfig = 5 config.getResults().get("string"); 阅读全文
摘要:
1 public List getBetweenDateStr(Date start, Date end){ 2 if(start==null || end==null)return null; 3 List list=new ArrayList(); 4 SimpleDateFormat sdf=new SimpleDateFormat(... 阅读全文
摘要:
excel中同表格换行: a+"\n"+b 1.读取 String str = sheet.getCell(c, r).getContents(); String[] split = str.split("\n");//根据换行符截取 2.添加 sheet.addCell(new jxl.write 阅读全文
摘要:
Range[] rangeCells = sheet.getMergedCells();// 返回sheet中合并的单元格数组 for (Range r : rangeCells) {//对数组遍历拿到每个合并的单元格 Cell cellTop = r.getTopLeft();//获取某个合并的单 阅读全文
摘要:
String path=""; String path2=""; File file = new File(path); File file2 = new File(path2); 1.Workbook wb = jxl.Workbook.getWorkbook(file);//读取excel,这个 阅读全文
摘要:
这个是在整合freemarker的时候出现的问题,在添加依赖spring-context-support.jar之后就好了 但是我在搭建框架的时候出现的问题是明明添加了这个依赖,但是出现一个问题 出现在freemarker的配置位置, <bean id="freemarkerConfig" clas 阅读全文
摘要:
1.spring.jar 是包含有完整发布模块的单个jar 包。 2. org.springframework.aop 包含在应用中使用Spring的AOP特性时所需的类。 3. org.springframework.asm Spring独立的asm程序, Spring2.5.6的时候需要asmJ 阅读全文
摘要:
/** * 输入数字返回对应英文 * * @param sourceNum * @return */ public String getNumStr(int sourceNum) { if (sourceNum map = getMap(); String sourceStr = sourceNum +... 阅读全文