Friday, April 11, 2014

HTTP Status 403 - Access to the requested resource has been denied

Many developers in web application industry had faced this problem , if you happens to this problem your not a new , many have faced this issue , in this post will explained how to correct this issue

This is happen when you are trying to log in to application by giving user name and password to web app which enforced FORM based authentication , Following two entries are solution for "HTTP Status 403 - Access to the requested resource has been denied "


<error-page></error-page> 
<!-- 400 code is from trying to go directly to login.jsp -->
<error-code>400</error-code>
<location>/index.jsp</location>

<error-page></error-page> 
<!-- 408 code is from trying to go directly to login.jsp -->
<error-code>408</error-code>
<location>/index.jsp</location>