ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Using Tomcat 4 Security Realms
Subject:   Basic authentification error
Date:   2004-01-15 01:53:19
From:   joepizza
I have a Basic authentification. When I enter a correct login/pass, all is ok.
But when I click on "cancel", I get a blank page instead of my error page!!!


please help me


thanks
julien


in my web.xml :
<error-page>
<exception-type>401</exception-type>
<location>/error.html</location>
</error-page>
<error-page>
<error-code>403</error-code>
<location>/error.jsp</location>
</error-page>