Http 403 - Forbidden error

孤人 提交于 2019-12-25 14:01:05

问题


I have a problem accessing my simple web application. I have developed hello world application which is inside index.html. This is defined in welcome-file-list in web.xml file. On deploying my web application through eclipse into weblogic 12C, it is deployed. I'm able to see my application deployed using weblogic admin gui console. But when I try to access the application (i.e) helloworld page, I get the following error displayed in a web page.

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.

<?xml version="1.0" encoding="UTF-8"?>
   <web-app xmlns:xsi="w3.org/2001/XMLSchema-instance"; 
       xmlns="java.sun.com/xml/ns/javaee";  
       xmlns:web="java.sun.com/xml/ns/javaee/web-app_2_5.xsd";
       xsi:schemaLocation="java.sun.com/xml/ns/javaee java.sun.com/xml/ns/javaee/web-app_3_0.xsd"; id="WebApp_ID" version="3.0"> 
  <display-name>ExtJSTestProject</display-name>
  <welcome-file-list> 
     <welcome-file>index.html</welcome-file>
  </welcome-file-list> 
</web-app>

Kindly help me. Thank you.

来源:https://stackoverflow.com/questions/17611627/http-403-forbidden-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!