Announcement Announcement Module
Collapse
No announcement yet.
Options request not forwarded to controller after upgrade Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Options request not forwarded to controller after upgrade

    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:

    Code:
    <bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
    <property name="mappings">
    <props>
    <prop key="/**">myController</prop>
    </props>
    </property>
    </bean>
    <bean id="myController" class="com.ds.ipark.web.WebDavController">
    <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.

  • #2
    Change found in FrameworkServlet.java

    I looked at the source code and found FrameworkServlet class has been changed form version 1.1 to 1.2.1. The latest version seems supporting only a few HTTP methods. Any explanation?

    Regards,

    Comment

    Working...
    X