摘要: 1、spring-content:对应的是系统级别的配置,作用范围是系统上下文。 1.1、对于 servlet配置文件里面应该初始化的东西,除了视图的解析方式、静态资源文件的存放位置、controller的初始化方式之外,其他的都不应该放在 servlet 配置文件中,应为它只负责 请求的转发,返回 阅读全文
posted @ 2019-11-25 20:24 知识的海洋- 阅读(632) 评论(0) 推荐(0) 编辑
摘要: network工具功能强大,能够让我看到网页加载的信息,比如加载时间,和先后顺序,是否是并行加载,还是堵塞加载。 默认情况下有八列: (1).Name:表示加载的文件名。 (2).Method:表示请求的方式。 (3).Status:表示状态码(200为请求成功,304表示从缓存读取)。 (4).T 阅读全文
posted @ 2019-10-14 16:33 知识的海洋- 阅读(1859) 评论(0) 推荐(0) 编辑
摘要: 一、配置Tomcat/conf/server.xml修改配置 <Connector port="8080" protocol="org.apache.coyote.http11.Http11NioProtocol" redirectPort="8443" URIEncoding="UTF-8" mi 阅读全文
posted @ 2019-10-14 16:29 知识的海洋- 阅读(1082) 评论(0) 推荐(1) 编辑
摘要: 错误信息: 2019-02-19 09:17:58,678 [http-nio-8080-exec-1] WARN org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver - Failed to read 阅读全文
posted @ 2019-02-19 11:50 知识的海洋- 阅读(1590) 评论(0) 推荐(1) 编辑