随笔分类 -  java其他

1 2 下一页
spring 元注解
摘要:转载https://www.cnblogs.com/gmq-sh/p/4798194.html 1、元注解(meta-annotation): 元注解的作用就是负责注解其他注解。Java5.0定义了4个标准的meta-annotation类型,它们被用来提供对其它 ... 阅读全文
posted @ 2018-07-20 16:08 2637282556 阅读(189) 评论(0) 推荐(0)
spring字段校验的注解说明
摘要:限制 说明 @Null 限制只能为null @NotNull 限制必须不为null @AssertFalse 限制必须为false @AssertTrue 限制必须为true @DecimalMax(value) 限制必须为一个不大于... 阅读全文
posted @ 2018-07-20 11:49 2637282556 阅读(592) 评论(0) 推荐(0)
java 导出数据到excel
摘要:controller/** * * @Description (导出申请单) * @author feizhou * @Date 2018年6月21日下午4:33:02 * @version 1.0.0 * @pa... 阅读全文
posted @ 2018-07-19 17:09 2637282556 阅读(119) 评论(0) 推荐(0)
Spring类字段验证
摘要:引用的jar org.hibernate hibernate-validator 5.4.1.Final javax.validation validation-api ... 阅读全文
posted @ 2018-07-19 14:06 2637282556 阅读(220) 评论(0) 推荐(0)
POI中设置Excel单元格格式样式(居中,字体,边框,背景色、列宽、合并单元格等)
摘要:转载https://blog.csdn.net/tolcf/article/details/48346697HSSFSheet sheet = workbook.createSheet("sheet1");//新建sheet页HSSFCellStyle cellSty... 阅读全文
posted @ 2018-07-18 17:07 2637282556 阅读(571) 评论(0) 推荐(0)
Spring MVC 拦截器实现
摘要:拦截器代码package com.feizhou.interceptor.login;import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse;... 阅读全文
posted @ 2018-07-18 16:09 2637282556 阅读(111) 评论(0) 推荐(0)
mybaties 分页拦截器的实现
摘要:反射需要的几个工具类 对应的工具代码package com.feizhou.common.plug_in.page;/** * 类似hibernate的Dialect,但只精简出分页部分 */public class Dialect{ public boolea... 阅读全文
posted @ 2018-07-18 14:18 2637282556 阅读(224) 评论(0) 推荐(0)
Java设置session超时(失效)的时间
摘要:转载http://www.cnblogs.com/diewufeixian/p/4221747.html1.在web容器中设置(以tomcat为例)在tomcat-7.0\conf\web.xml中设置30tomcat默认session超时时间为30分钟,可以根据需要... 阅读全文
posted @ 2018-07-17 23:17 2637282556 阅读(267) 评论(0) 推荐(0)
Spring MVC 随时获取request对象
摘要:配置web.xml org.springframework.web.context.request.RequestContextListener 代码中HttpServletRequest request... 阅读全文
posted @ 2018-07-17 18:30 2637282556 阅读(102) 评论(0) 推荐(0)
Spring3 MVC 拦截器拦截不到的问题
摘要:转载http://www.cnblogs.com/zrbfree/p/5626803.htmlcom.zk.interceptors.MyInterceptor 实现了 HandlerInterceptor接口,可以拦截@RequestMapping注解的类和方法(也... 阅读全文
posted @ 2018-07-13 15:12 2637282556 阅读(166) 评论(0) 推荐(0)
java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'userInfoController' bean metho
摘要:严重: Servlet [SpringMVC] in web application [/treasure_money] threw load() exceptionjava.lang.IllegalStateException: Ambiguous mapping ... 阅读全文
posted @ 2018-05-21 09:26 2637282556 阅读(252) 评论(0) 推荐(0)
mybatis出现 Parameter '__frch_excelModel_0' not found.
摘要:1.查看parameterType的类型是不是Java.util.List类型,如果是的话,看foreach 的collection属性是不是list,2.看一下foreach里面的值有没有传递进来 3.看foreach里面的名称字段是否写错 4.还有就是我用Myb... 阅读全文
posted @ 2018-05-10 14:11 2637282556 阅读(176) 评论(0) 推荐(0)
Error creating bean with name 'userPrivilegeTempBblImpl': Injection of autowired dependencies failed
摘要:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userPrivilegeTempBblImpl': Injection of autow... 阅读全文
posted @ 2018-05-09 11:56 2637282556 阅读(142) 评论(0) 推荐(0)
java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking
摘要:2018-05-08 17:43:28,367 [localhost-startStop-1] INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Closing Roo... 阅读全文
posted @ 2018-05-09 09:42 2637282556 阅读(464) 评论(0) 推荐(0)
spring事务测试2,为了解决spring事务测试1
摘要:controller @RequestMapping(value = "/test.do") public void test(Integer[] ids,HttpServletResponse response,Integer type,Boolean ... 阅读全文
posted @ 2018-04-24 12:08 2637282556 阅读(119) 评论(0) 推荐(0)
spring事务测试1
摘要:代码controller @RequestMapping(value = "/test.do") public void test(Integer[] ids,HttpServletResponse response,Integer type,Boolea... 阅读全文
posted @ 2018-04-23 19:43 2637282556 阅读(124) 评论(0) 推荐(0)
在线预览设计
摘要:在线预览设计 阅读全文
posted @ 2018-04-23 10:19 2637282556 阅读(79) 评论(0) 推荐(0)
在线预览任务调度的实现
摘要:队列设计/** * @ClassName ConvertQueue * @Description TODO(文件转换PDF的队列) * @author feizhou * @Date 2018年4月18日 下午1:49:13 * @version 1.0.0 * ... 阅读全文
posted @ 2018-04-23 10:16 2637282556 阅读(157) 评论(0) 推荐(0)
activity任意节点跳转
摘要:/** * * @Description (跳转任意目标节点) * @author feizhou * @Date 2018年3月28日上午10:23:00 * @version 1.0.0 * @param map ... 阅读全文
posted @ 2018-04-17 16:31 2637282556 阅读(486) 评论(0) 推荐(0)
String表达式的布尔值
摘要:/** * * @Description (字符串表达式计算逻辑值) * @author feizhou * @Date 2018年4月13日下午2:30:28 * @version 1.0.0 * @param str * @param var * @retu... 阅读全文
posted @ 2018-04-16 20:53 2637282556 阅读(119) 评论(0) 推荐(0)

1 2 下一页