You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jeroen Breedveld <je...@x-hive.com> on 2002/08/28 14:17:27 UTC
Problem with error page and login forms
Hi,
I created a custom error page for error 401 (unauthorized) for a webapp
I created that contains a security constraint on some servlets.
When I include this in my web.xml:
<error-page>
<error-code>401</error-code>
<location>/errors/401.html</location>
</error-page>
and I browe to those secured servlets I go directly to that custom error
page and it doesn't show me the login form I normally see when I go to
that servlet.
Anyone an idea why that servlet doesn't allow me to authorize myself?
Thanks,
Jeroen
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>