springmvc
springmvc 1、 参数校验 2、 打印请求参数
jupiter_888
这个作者很懒,什么都没留下…
展开
-
validator 重写方法报错
javax.validation.ConstraintDeclarationException: HV000151: A method overriding another method must not redefine the parameter constraint configuration, but method DistributorLevelController#selectDis...原创 2020-01-14 10:42:19 · 7115 阅读 · 0 评论 -
spring default bean name
Naming Spring BeansOverviewIn this article, we’ll look at how we can name our Spring beans. By controlling the naming of our beans, we can tell Spring which beans we want to inject into a target b...原创 2020-01-13 13:44:04 · 187 阅读 · 0 评论 -
spring webmvc trim string type request forms or body
1、方案1Can spring mvc trim all strings obtained from forms?@ControllerAdvicepublic class ControllerSetup{ @InitBinder public void initBinder ( WebDataBinder binder ) { StringTrim...原创 2020-01-09 16:03:16 · 837 阅读 · 0 评论 -
aop
1、 熟悉api2、 参透运行机制3、 收缩、逐步扩展spring aop1、 api怎么写?Chapter 6. Aspect Oriented Programming with Spring切面: PointCut(切点: joinPoint的集合)+ 通知(Advice)方式+ 通知(Advice)增强代码定义切点:注解定义Aspect1、定义Pointcut切点2、 ...原创 2020-01-05 18:26:15 · 116 阅读 · 0 评论 -
xml
1、 xml节点、 节点属性2、xml namespacexml namespace 3、xml schemaxml schema What is an XML Schema?An XML Schema describes the structure of an XML document.The XML Schema language is also referred to...原创 2020-01-05 15:32:18 · 125 阅读 · 0 评论