Search code examples
jsfhttp-status-code-403

What does a HTTP 403 error mean?


I am using JSF 2.0, Eclipse indigo, Tomcat 7. I am getting this error but can see nothing on console. I am working on a project that is built some one else, and there are lines in web.xml.

<error-page>
    <error-code>403</error-code>
    <location>/error/error403.jsf</location>
</error-page>

What might the problem be?


Solution

  • A HTTP 403 Forbidden error means that nobody is authorized to request the given URL. Different credentials also won't help (that's the difference with HTTP 401 Unauthorized error). You see this error often when you attempt to open a folder on the webserver with the intention to get a directory index with a list of files, but the server has it disabled and there is no index (welcome) file.

    Note that this is unrelated to JSF.