aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HTTP Status 403  Access to the requested resource has been denied Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "HTTP Status 403  Access to the requested resource has been denied" Watch "HTTP Status 403  Access to the requested resource has been denied" New topic
Author

HTTP Status 403 Access to the requested resource has been denied

Moses Marfo
Greenhorn

Joined: May 24, 2009
Posts: 27
Can someone please help me figure out what is wrong with the configuration below
I keep getting "HTTP Status 403 - Access to the requested resource has been denied" when I run the application.

I'm using netbeans 6.7.1 with tomcat.

this is my web.xml




this is my tomcat-users.xml file




I was expecting a log in screen to pop up when ever the application is run.

All 3 files index.jsp, index.html and loginerror.html are outside the WEB-INF directory

thanks
Bindu Lakhanpal
Ranch Hand

Joined: Oct 17, 2008
Posts: 171

In specification it is written
The realm-name indicates the realm name to use in HTTP BASIC authentication.


I don't know whether you can use realm name in case of FORM based authentication.
Moses Marfo
Greenhorn

Joined: May 24, 2009
Posts: 27
I took out the realm name from "<login-config>" and it is still not working.
 
jQuery in Action, 2nd edition
 
subject: HTTP Status 403 Access to the requested resource has been denied