i'm using spring 3 recently. i want to use REST. the problem is ,i want to use many different path.like notice/* ,user/* etc. i know how to config one .
<servlet>
<servlet-name>notice</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>notice</servlet-name>
<url-pattern>/notice/*</url-pattern>
</servlet-mapping>
so,if i want to add /user/* in the web.xml,what should i do? how to configue? thanks