欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Request processing failed; returned a response status of 403 Forbidden

程序员文章站 2022-04-14 14:26:07
...

问题描述:

Request processing failed; nested exception is com.sun.jersey.api.client.UniformInterfaceException: PUT http://localhost:9090/fileupload_war/uploads/girl8.jpg514f55ea7962402a9e1a507ce2032fd7 returned a response status of 403 Forbidden

Request processing failed; returned a response status of 403 Forbidden


原因分析:

tomcat服务器默认是不可写操作,只允许读

解决方案:

提示:
tomcat.conf.web.xml 中DefaultServlet添加以下

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

Request processing failed; returned a response status of 403 Forbidden

相关标签: 解决方法 tomcat