spring mvc3 配置 @Controller失效

因为配置了:<mvc:resources  location=" "  mapping=""  /> ,@Controller失效 访问404

忘了还需要配置:<mvc:annotation-driven/>

你可能感兴趣的:(spring mvc3 配置 @Controller失效)