3 Replies Latest reply on Aug 9, 2006 3:43 PM by c_eric_ray

    405,HTTP method POST is not supported by this URL

      Does anyone know how to get rid of this error.

      This is what's in my web.xml...

       <servlet>
       <servlet-name>File Upload Servlet</servlet-name>
       <servlet-class>com.vicor.distributedcapture.web.FileUploadServlet</servlet-class>
       </servlet>
      
       <!-- File Upload -->
       <servlet-mapping>
       <servlet-name>File Upload Servlet</servlet-name>
       <url-pattern>/upload</url-pattern>
       </servlet-mapping>
      


      the url is .... http://localhost:8080/dcap/upload

      The http request is POST with content-type multipart/form-data

      Is there a setting I'm missing. Here's the description from the W3C.

      10.4.6 405 Method Not Allowed
      The method specified in the Request-Line is not allowed for the resource identified by the Request-URI. The response MUST include an Allow header containing a list of valid methods for the requested resource.