Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: My error-pages does not show in IE7 everything worked in IE 4 - IE6

Mark Deneen

2007-07-23

Replies:

In addition, there is a minimum page length required for IE to show
your custom error pages. If your error page is less than 512 bytes,
the friendly error page will be shown.

http://support.microsoft.com/kb/294807

Mark

On 7/23/07, David Delbecq <delbd+jakarta@(protected):
> in IE6 there was a configuration option to "let IE handle error
> messages". If this was active, error page from server would be replaced
> by a custom non informative IE page. This may be activated in your IE7.
>
> En l'instant précis du 23/07/07 11:32, Søren Blidorf s'exprimait en ces
> termes:
> > Hi.
> >
> >
> >
> > Does anybody know why my error-pages does not show in IE7 everything worked
> > in IE 4 – IE6
> >
> >
> >
> >
> >
> > Web.xml:
> >
> >  <error-page>
> >
> >   <error-code>500</error-code>
> >
> >   <location>/error?error=500</location>
> >
> >  </error-page>
> >
> >  <error-page>
> >
> >   <error-code>404</error-code>
> >
> >   <location>/error?error=404</location>
> >
> >  </error-page>
> >
> >  <error-page>
> >
> >   <error-code>403</error-code>
> >
> >   <location>/error?error=403</location>
> >
> >  </error-page>
> >
> >  <error-page>
> >
> >   <error-code>400</error-code>
> >
> >   <location>/error?error=400</location>
> >
> >  </error-page>
> >
> >  <error-page>
> >
> >   <error-code>408</error-code>
> >
> >   <location>/error?error=408</location>
> >
> >  </error-page>
> >
> >  <error-page>
> >
> >   <exception-type>java.lang.NullPointerException</exception-type>
> >
> >   <location>/error?error=NullPointerException</location>
> >
> >  </error-page>
> >
> >  <error-page>
> >
> >   <exception-type>java.net.UnknownHostException</exception-type>
> >
> >   <location>/error?error=UnknownHostException</location>
> >
> >  </error-page>
> >
> >
> >
> > BR
> >
> >
> >
> > Soren, DK
> >
> >
> >
>
>
> --
> http://www.noooxml.org/
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.