1

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?

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
merveotesi
  • 2,145
  • 15
  • 53
  • 84
  • I'm not sure what your concrete problem/question is. Are you getting 403 errors and wondering why you're getting this error? In other words, you do not understand what a HTTP 403 Forbidden error means? – BalusC Feb 20 '12 at 17:28
  • yes, i can say yes. some time ago, i used to get this error but that time there were server was starting with lots of errors. but now there is no exception in server starting console. thanks for response – merveotesi Feb 21 '12 at 08:17
  • In the future try to state the concrete question clearly in the question title. I've edited it for you. – BalusC Feb 21 '12 at 12:52
  • Similar: [403 Forbidden vs 401 Unauthorized HTTP responses](http://stackoverflow.com/q/3297048/55075) – kenorb Apr 08 '15 at 22:00

1 Answers1

2

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.

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555