java
to_Date32
我也想成为那个猪笼城寨里万中无一的绝世高手。
展开
-
Spring Boot 启动报错 Cannot determine embedded database driver class for database type NONE
Spring Boot 启动报错 Cannot determine embedded database driver class for database type NONE原创 2017-12-01 11:30:42 · 2751 阅读 · 2 评论 -
spring mvc 多文件上传
spring mvc 多文件上传原创 2017-10-10 11:45:44 · 267 阅读 · 0 评论 -
java中Object类型转String类型
public String objToString(Object param) { String result = ""; BigDecimal re = new BigDecimal(0); DecimalFormat df = new DecimalFormat("#.000"); if (param instanceof Integer) { int value =原创 2017-11-20 15:53:09 · 1058 阅读 · 0 评论 -
java文件下载
java文件下载原创 2017-10-10 11:37:54 · 290 阅读 · 0 评论 -
java上传文件到文件夹判断文件夹是否存在,不存在则创建
// 判断文件夹是否存在 public static void judeDirExists(File file) { if (file.exists()) { if (file.isDirectory()) { System.out.println("dir exists"); } else {转载 2017-10-10 11:35:18 · 4255 阅读 · 0 评论 -
java导入excel格式化单元格数据
/** * 格式化cell数据 * * @param cell * @return */ private String getCellVal(Cell cell, int cellNum) { Object obj = null; FormulaEvaluator evaluator = book.getCreationHelper().createFormulaE转载 2017-10-10 11:33:17 · 889 阅读 · 0 评论 -
java 对象转map,map转对象
java对象转map:/** * JavaBean对象转化成Map对象 * * @param javaBean * @return */ @SuppressWarnings({ "rawtypes", "unchecked" }) public static Map java2Map(Object javaBean) { Map map = new HashMap转载 2017-10-10 11:28:34 · 7316 阅读 · 0 评论 -
easyui datagrid合并行进入可编辑模式错位问题
easyui datagrid合并行进入可编辑模式错位问题,只需要在每次结束行编辑时,重新设定行合并即可。加载datagrid: $("#datagrid").datagrid({ rownumbers : false, pageSize : 100, pageList : [100 ,200], pagination : false, singleSelec原创 2016-12-06 14:24:23 · 4497 阅读 · 6 评论 -
Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvid
最近有一个老项目做二开,项目使用了SSH架构,c3p0作为数据库连接池,但是项目启动的时候,tomcat会卡在下面这行代码:Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider很久之后,tomcat会抛出异常:Caused by: ...原创 2018-09-26 15:58:18 · 2307 阅读 · 0 评论