![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springMVC
午夜小学徒123
这个作者很懒,什么都没留下…
展开
-
org.springframework.web.servlet.DispatcherServlet
<servlet> <servlet-name>springmvc</servlet-name> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> <!-- 自定定义springmvc的...原创 2018-12-28 16:41:02 · 2941 阅读 · 0 评论 -
web界面添加后,后台显示乱码
在web.xml文件中添加 <filter> <filter-name>characterEncodingFilter</filter-name> <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> ...原创 2018-12-28 16:44:09 · 307 阅读 · 0 评论 -
web.xml中的classpath指项目中的哪个路径
其实就是在项目的src目录下,然后只要在src目录下,就可以这么写:classpath:applicationContext.xml原创 2019-02-22 17:14:27 · 204 阅读 · 0 评论