版本spring4.x 注解@MatrixVariable可以将键值对写到路径中映射作为controller中的方法参数,使用前需要配置 1.RequestMappingHandlerMapping中属性removeSemicolonContent值为true <bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping"> <property name="order" value="1"></property> <property name="removeSem…
2016-10-21 00:38 · springmvc @MatrixVariable