Error 403--Forbidden

本文解决了一个访问路径错误导致WebLogic与Tomcat服务无法正常显示的问题。通过输入完整的访问路径,如'http://localhost:7001/bea_test/conn.jsp',可以实现正常显示。此问题源于WebLogic与Tomcat服务在处理访问路径时的差异。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

转自他人:
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.4 403 Forbidden
The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated.
If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe
the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why
the request has been refused, or when no other response is applicable.

它不是我们配置不当造成的。

只是应该明白,WebLogic 与Tomcat服务的不同就OK啦。

原因:
未输入完整的访问路径,WebLogic与Tomcat不同,不能显示出目录下的所有文件,
故必须要输入完整的访问路径,例:http://localhost:7001/bea_test/conn.jsp
即地址输入至jsp页面级,即可正常显示!

转载于:https://www.cnblogs.com/fangzhizi/p/4521765.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值