摘要:
Spring AOP面向切面编程,可以用来配置事务、做日志、权限验证、在用户请求时做一些处理等等。用@Aspect做一个切面,就可以直接实现。 1.首先定义一个切面类,加上@Component @Aspect这两个注解 @Component@Aspectpublic class LogAspect 阅读全文
摘要:
Request idle timed out at 123000 ms. That means there was no activity (read or write) for 123000 ms and the connection was closed. 如果不活动的链接大于123秒的话会自动 阅读全文