摘要:
1、SpringMVC验证@Validated的使用 第一步:编写国际化消息资源文件 编写国际化消息资源ValidatedMessage.properties文件主要是用来显示错误的消息定制 可以将edit.username.null与edit.password.size看为参数,在message中 阅读全文
摘要:
概念:访问目标方法即用jointpoint(@around用poceedingjointpoint) 1.获取他们的目标对象信息,如test.component@80387a这种, 2.还有获取带参方法的参数,如[Ljava.lang.Object;@183cfe9(想当然我们也可以用对象的arra 阅读全文