摘要:
SpringMVC3中关于url-pattern设成"/"后,CSS等资源的访问会报错:No mapping found for HTTP request with URI。解决办法是将资源类文件夹放到resources目录中,然后在 servlet-context.xml中 添加 xmlns:mvc="http://www.springframework.org/schema/mvc"<!-- Handles HTTP GET requests for /resources/** by efficiently serving up static 阅读全文
posted @ 2011-11-28 09:52
Liren
阅读(539)
评论(0)
推荐(0)
浙公网安备 33010602011771号