摘要:
1 拦截器概念和struts2一致 2 实现拦截器 a 实现handlerinterceptor接口 b 配置拦截器 3 如果被拦截 - 能否到达指定的页面? 使用HttpServletResponse 或者HttpServletRequest可以实现转发或重定向 4 拦截器的应用--登录拦截器 配 阅读全文
摘要:
1 使用HttpServletResponse来处理--不需要配置解析器 前台 2 springmvc处理json数据 a 导入jar包 jackson-annotations-2.7.0.jarjackson-core-2.7.7.jarjackson-databind-2.7.8.jar b 配 阅读全文