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

Asensio, Rodrigo

2007-07-23

Replies:

Do you have turned off the advanced option in IE

{x} Show friendly error pages

??

-----Original Message-----
From: Søren Blidorf [mailto:soren@(protected)]
Sent: Monday, July 23, 2007 5:32 AM
To: tomcat-user@(protected)
Subject: My error-pages does not show in IE7 everything worked in IE 4 - IE6

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


This message (including any attachments) contains confidential
and/or proprietary information intended only for the addressee.
Any unauthorized disclosure, copying, distribution or reliance on
the contents of this information is strictly prohibited and may
constitute a violation of law. If you are not the intended
recipient, please notify the sender immediately by responding to
this e-mail, and delete the message from your system. If you
have any questions about this e-mail please notify the sender
immediately.

---------------------------------------------------------------------
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.