摘要: 我们在访问百度首页的时候,会发现不管怎么刷新页面,静态资源基本都是返回 200(from cache): 随便点开一个静态资源是酱的: 哎哟有Response报头数据呢,看来服务器也正常返回了etag什么鬼的应有尽有,那状态200不是应该对应的非缓存状态么?要from cache的话不是应该返回30 阅读全文
posted @ 2016-07-25 20:06 rj_bian 阅读(7312) 评论(0) 推荐(3) 编辑
摘要: <mvc:annotation-driven /> 是一种简写形式,完全可以手动配置替代这种简写形式,简写形式可以让初学都快速应用默认配置方案。<mvc:annotation-driven /> 会自动注册DefaultAnnotationHandlerMapping与AnnotationMetho 阅读全文
posted @ 2016-07-25 19:17 rj_bian 阅读(995) 评论(0) 推荐(0) 编辑
摘要: 除去properites文件路径错误、拼写错误外,出现"Could not resolve placeholder"很有可能是使用了多个PropertyPlaceholderConfigurer或者多个<context:property-placeholder>的原因。 比如我有一个dao.xml读 阅读全文
posted @ 2016-07-25 19:02 rj_bian 阅读(535) 评论(0) 推荐(0) 编辑