Results 1 to 2 of 2

Thread: Options request not forwarded to controller after upgrade

  1. #1
    Join Date
    Jun 2005
    Location
    Plano, TX, USA
    Posts
    4

    Default 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. #2
    Join Date
    Jun 2005
    Location
    Plano, TX, USA
    Posts
    4

    Default 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,

Similar Threads

  1. Replies: 2
    Last Post: Dec 5th, 2006, 06:05 AM
  2. Hibernate Long Session Per Flow?
    By akw in forum Web Flow
    Replies: 21
    Last Post: Dec 12th, 2005, 08:06 PM
  3. Replies: 9
    Last Post: Nov 1st, 2005, 10:36 PM
  4. Replies: 1
    Last Post: May 27th, 2005, 09:34 AM
  5. Replies: 0
    Last Post: Sep 24th, 2004, 08:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •