-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jill,

On 4/23/2009 1:20 PM, Jill Han wrote:
> I still need helps.
> Here is the web.xml
> ...
> <login-config>
>     <auth-method>BASIC</auth-method>
>     <realm-name>TESTING</realm-name>  
>   </login-config>
>  
>    <error-page>
>     <error-code>401</error-code>
>     <location>/error.html</location>
>   </error-page>
> ...
> The error.html is replaced the 401 error message, however there will be no 
> authentication window prompted, error.html is somehow loaded all the time.

What do your <security-constraint> elements look like?

Are you saying you are getting a 401 response but never being asked for
your credentials?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAknwx6UACgkQ9CaO5/Lv0PBfLACfU2OGHvHDUX0qeCeaIVoRoJz9
rO4AoK5hbI7c96Dz31J0ZCaOhLzgPcaS
=xKJK
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to