tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeroen Breedveld" <jero...@x-hive.com>
Subject Problem with error page and login forms
Date Wed, 28 Aug 2002 12:17:27 GMT
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:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message