Spring MVC的URL Mapping和Method Mapping配置

<!-这里是配置类名注解,必须!->
<!-- URL Mapping -->
<bean class="org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping">
<property name="caseSensitive" value="true" />
</bean>

<!-这里是配置方法名注解,必须!->
<!-- Method Mapping -->
<bean id="methodNameResolver" class="org.springframework.web.servlet.mvc.multiaction.InternalPathMethodNameResolver" />
分享到:

评论完整模式加载中...如果长时间无法加载,请针对 disq.us | disquscdn.com | disqus.com 启用代理