Thursday, April 17, 2014

Error 403--Forbidden From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:

I created a JSP page and tried to deploy it to weblogic server.

Once the code is deployed to server i went to deployment and tried to open the url but i got the following error



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.



This error is coming because the end point url specified is not correct.



The end point which we were trying to access from weblogic server deployment page was

http://localhost:8001/TestDemo/

We need to add the context for our jsp page in my code there are two jsp page.



So in order to open the two pages the link will be as follows


http://localhost:8001/TestDemo/faces/Demo.jsp

http://localhost:8001/TestDemo/faces/Test.jsp

No comments: