IE uses some voodoo logic to decide when to show it's own error page or not. Anytime it get's something other than a HTTP 200 or
302, it looks at the HTML returned with it, and if it "seems" to be a well-formed html doc, and/or exceeds a certain length, then it
will show that HTML, else it decides to show it's own "Friendly HTTP Error page" ( which IMHO is completely useless to experienced
and novice users alike, but that's beside the point ).
You can turn off this behaviour in Tools->Internet Options->Advanced->Browsing->Show Friendly HTTP Error Messages
And this will at least show you exactly what you are returning to the browser.
Steph
> -----Original Message-----
> From: Bender, Christopher [mailto:Christopher.Bender@(protected)]
> Sent: Monday, December 08, 2003 3:40 PM
> To: Tomcat Users List
> Subject: Giving access to an html file in tomcat
>
>
> Hey,
>
> I have added the following to my web.xml of one of my web apps:
>
> <error-page>
> <error-code>403</error-code>
> <location>/error/error.htm</location>
> </error-page>
>
>
> When I try and test this (go to a page I do not have access to that will throw a 403 error), i get the Internet Explorer
> error page that says "You might not have permission to view this directory or page using the credentials you supplied"
> and not my page (and not even a tomcat page).
>
> Am I missing some configuration somewhere?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)