Thanks Lixin, it works !!! -----Original Message----- From: Lixin Chu [mailto:[EMAIL PROTECTED] Sent: Friday, March 03, 2006 10:51 AM To: Struts Users Mailing List Subject: Re: Why global error handling doesn't work with struts?
to show your own error page in IE, you need to have error page size more than 512 bytes. On 3/3/06, Partha Pratim Dutta <[EMAIL PROTECTED]> wrote: > > Thanks George. It really works fine in Firefox. Why Microsoft is bent > upon changing everything their way ? > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 02, 2006 8:33 PM > To: user@struts.apache.org > Subject: RE: Why global error handling doesn't work with struts? > > You'll have to ask Microsoft why it works that way. > > In the meantime, I would advise checking your site with Firefox so that > you can see your custom 404 page. > > - George > > > -----Original Message----- > > From: Partha Pratim Dutta [mailto:[EMAIL PROTECTED] > > Sent: Thursday, March 02, 2006 3:41 AM > > To: Struts Users Mailing List > > Subject: RE: Why global error handling doesn't work with struts? > > > > > > But then why is it behaving that way. It shouldn't. Isn't it? > > I am using IE 6.0 > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, March 01, 2006 7:49 PM > > To: user@struts.apache.org > > Subject: RE: Why global error handling doesn't work with struts? > > > > What browser are you using? Note that a custom 404 page is > > still a 404 page, and Internet Explorer will insist on > > showing you its own 404 page instead of the one sent by the server. > > > > > -----Original Message----- > > > From: Partha Pratim Dutta [mailto:[EMAIL PROTECTED] > > > Sent: Tuesday, February 28, 2006 11:39 PM > > > To: Struts Users Mailing List > > > Subject: Why global error handling doesn't work with struts? > > > > > > > > > Hi All > > > > > > I am running Tomcat 4.x and have tried to set global error > > > handling using the following entry in the web.xml file. But > > > there is no redirection and I always end up with 404 page not > > > found error in the browser. I am using struts 1.2 as the MVC > > > framework for the application. > > > > > > One more strange thing that I have noticed is that although > > > the error page doesn't show up but it prints the SOP > > > statements on the console. That means that it is getting > > > redirected to the error page but why is it not showing up then? > > > > > > Does anyone have a solution to this problem? > > > > > > <error-page> > > > <error-code>404</error-code> <location>/weberror.jsp</location> > > > </error-page> > > > > > > > > > Thanks & Regards > > > > > > Partha > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]