![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring
Vashon_Wood
这个作者很懒,什么都没留下…
展开
-
Spring Junit 单元测试实例
package com.eshop.test;import java.util.ArrayList; import java.util.List;import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.junit.runner.RunWith; import org.spring原创 2015-12-17 15:42:37 · 615 阅读 · 0 评论 -
springmvc web.xml详细配置
web.xml设置<filter> <filter-name>CharacterEncodingFilter</filter-name> <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> <init-param>原创 2016-08-03 23:07:51 · 115 阅读 · 0 评论 -
Spring中拦截/和拦截/*的区别 - 不能访问到返回的JSP - 访问静态资源(jpg,js等)(转)
一、我们都知道在基于Spring的Application中,需要在web.xml中增加下面类似的配置信息:Xml代码 收藏代码 <listener-class> org.springframework.web.context.ContextLoaderListener </listener-class> <servlet-name>servletName</servl转载 2016-08-03 23:08:55 · 235 阅读 · 0 评论