有关Error 403--Forbidden的问题(在线)

supnet1 2003-04-03 09:05:33
已经下载了jakarta-struts-1.0.2.zip,我想在weblogic7下运行Struts_Example例子(weblogic7启动正常)。
我的方法:
将struts-example.war解压\bea\webserver\config\mydomain\applications\DefaultWebApp或者\bea\webserver\config\mydomain\applications\DefaultWebApp\appweb\

但是当运行http://localhost:7001/后出现以下错误:
****************************************错误信息:
Error 403--Forbidden
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.
*****************************************
请问各位的是如何解决??非常感谢!!!!

...全文
2212 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
supnet1 2003-04-03
  • 打赏
  • 举报
回复
谢谢大家指点!问题已经解决!只需在console中将需要浏览的文件在application中发布就行了!!
请大家接分吧!!
supnet1 2003-04-03
  • 打赏
  • 举报
回复
to zez;
谢谢提醒。但是在defaultwebapp目录下没有index.jsp,该如何得到该文件,最后
如何配置server?好像在http://localhost:7001/console下没法配置??
zez 2003-04-03
  • 打赏
  • 举报
回复
也可以输入完整的路径加文件名试试...
zez 2003-04-03
  • 打赏
  • 举报
回复
配置你的server,让它可以显示目录.这样就可以看到目录了 ...

上面的错误是无法显示,比如你请求的目录里没有 index.jsp
或者目录名错误

再要不看看你的配置文件,配置文件里要求的目录是什么 ?
应该在application.xml
supnet1 2003-04-03
  • 打赏
  • 举报
回复
运行http://localhost:7001/struts-example
还是出现以上问题。又该如何解决呢?
proZeus 2003-04-03
  • 打赏
  • 举报
回复
http://localhost:7001/struts-example

67,512

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧