After upgraded to Springframework 1.2.1, my controller cannot receive http options request from dispatcherServlet anymore. The following is from my dispatcher-servlet.xml:
<bean id="myController" class="com.ds.ipark.web.WebDavController">Code:<bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"> <property name="mappings"> <props> <prop key="/**">myController</prop> </props> </property> </bean>
<property name="supportedMethods">
<list>
<value>GET</value>
<value>PUT</value>
<value>OPTIONS</value>
<value>HEAD</value>
<value>POST</value>
</list>
</property>
</bean>[/code]
Do I have to make any corresponding change? Thanks in advance.


Reply With Quote