Resources Base
Table of contents

ErrorList

HTTP request error

  • Symptom

When you upload images via HTTP Put, you may get this error.

  • Cause

    • The problem may occur if the write permission is not provided on the server.
    • If you use Tomcat, because the value of the readonly property is false by default, the HTTP Put operation is not allowed.
  • Solution

    • Check the write permission at the server.

      • Start Internet Information Services (IIS).
      • Click Web Sites.
      • Right-click the specified work folder, select Properties.
      • Select the Write option at the Directory tab.
    • If you are using Tomcat, the doPut() will check to see if the readonly property has been changed to false. If it has not, the HTTP Put operation is not allowed. Please go to {Tomcat installation directory} -> conf -> web.xml, find the default servlet configuration (org.apache.catalina.servlets. DefaultServlet) and change the readonly property to true .

<init-param>
    <param-name>readonly</param-name>
    <param-value>false</param-value>
</init-param>

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest Version
    • Version 17.0
    • Version 16.2
    • Version 16.1.1
    Change +
    © 2003–2021 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support