在springmvc的配置文件中加入
<mvc:resources mapping="/javascript/**" location="/static_resources/javascript/" />
<mvc:resources mapping="/styles/**" location="/static_resources/css/" />
<mvc:resources mapping="/images/**" location="/static_resources/images/" />
<mvc:default-servlet-handler />
SpringMVC资源映射配置详解
449

被折叠的 条评论
为什么被折叠?



