| layout | default-layout |
|---|---|
| noTitleIndex | true |
| needAutoGenerateSidebar | true |
| title | HTTP request error |
| keywords | Dynamic Web TWAIN, Error Troubleshooting, HTTP request |
| breadcrumbText | HTTP request error |
| description | HTTP request error |
| date | 2021-12-03 23:26:46 +0000 |
| last_modified | 2022-06-02 15:30:49 +0000 |
When attempting to upload images via HTTP Put the images fail to upload and this error is received.
- The problem may occur if write permission is not provided on the server.
- If you use Tomcat, the value of the
readonlyproperty isfalseby default, in this case the HTTP Put operation is not allowed.
-
Check the write permission of 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 thereadonlyproperty has been changed tofalse. 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 thereadonlyproperty totrue.
<init-param>
<param-name>readonly</param-name>
<param-value>false</param-value>
</init-param>