RE: Friendly error messages from Microsoft get in the way (was Er ror pages defined in web.xml not found / activated)
You are right. Thanks and humble apologies: it looks like I was constructing my own obfuscator ... On Tuesday, April 03, 2001 12:52 PM, Johan Fredriksson [SMTP:[EMAIL PROTECTED]] wrote: > Are you sure? > > I set my browser to show friendly http error messages and went to a page > which does not exist. And I get the errorpage as defined in my web.xml > > Visit this page to test : > > http://www.batborsen.com/bb/se/this_page_does_not_exist.html > > the errorpage tag in web.xml looks like this > > > 404 > > se/batborsen_error.html > > > 500 > > > se/batborsen_error.html > > > take an extra look at the location tag... > > I am using IE6 > > Johan > > > - Original Message - > From: "Frank Eggink" <[EMAIL PROTECTED]> > To: "Orion-Interest" <[EMAIL PROTECTED]> > Sent: Monday, April 02, 2001 8:51 PM > Subject: RE: Friendly error messages from Microsoft get in the way (was Er > ror pages defined in web.xml not found / activated) > > > > At least for development I can switch them off. Users (and helpdesk) will > have to live with it. > > > > I never knew people could think of developing error message obfuscators > :-( > > > > On Monday, April 02, 2001 7:14 PM, Juan Lorandi (Chile) > [SMTP:[EMAIL PROTECTED]] wrote: > > > the error code is sent on the very first line of the response header-- > and > > > orion doesn't allow you to control that > > > > > > > -Original Message- > > > > From: Frank Eggink [mailto:[EMAIL PROTECTED]] > > > > Sent: Monday, April 02, 2001 3:56 AM > > > > To: Orion-Interest > > > > Subject: Friendly error messages from Microsoft get in the way (was > > > > Error pages defined in web.xml not found / activated) > > > > > > > > > > > > Well ... > > > > > > > > How can you spend your weekend?!? > > > > > > > > > > > > The problem I described looks to be caused by wat's called > > > > 'friendly error > > > > messages' from the Internet Explorer. All runs fine with Netscape. > > > > Microsoft replaces standard 404 'can not find page' errors > > > > with their own > > > > page, which is considered (by them) to be more user friendly. > > > > > > > > Still I do not understand how the Explorer gets the > > > > information there is a > > > > 404 error. Could this be somewhat less wanted feature of > > > > Orion? I certainly > > > > would like to have control over this error message. > > > > > > > > FE > > > > > > > > On Friday, March 30, 2001 5:48 PM, Frank Eggink > > > > [SMTP:[EMAIL PROTECTED]] wrote: > > > > > Hi, > > > > > > > > > > I'm having a problem. I have defined error pages in my web.xml > > > > > > > > > > I've defined: > > > > > > > > > > > > > > > 404 > > > > > /errors/error404.jsp > > > > > > > > > > > > > > > Now I expect to see the error page when I request a non > > > > existing page > > > > like > > > > > http://localhost/my-app/non-existing-page.html, which does > > > > not happen. > > > > I'm > > > > > obviously overlooking something, but what?? > > > > > > > > > > [When I define the error page in a jsp page with <%@ > > > > > errorpage=/errors/error404.jsp %> it does work. So it can > > > > find the page, > > > > > which gives me the impression I've setup something wrong. What?? > > > > > > > > > > > > > > > FE > > > > > > > > > > Frank Eggink > > > > > Swift Applications > > > > > [EMAIL PROTECTED] > > > > > +31 6 28847325 (voice) > > > > > +31 33 4532464 (fax) > > > > > > > > > > > > > > > > > > >
Re: Friendly error messages from Microsoft get in the way (was Er ror pages defined in web.xml not found / activated)
Are you sure? I set my browser to show friendly http error messages and went to a page which does not exist. And I get the errorpage as defined in my web.xml Visit this page to test : http://www.batborsen.com/bb/se/this_page_does_not_exist.html the errorpage tag in web.xml looks like this 404 se/batborsen_error.html 500 se/batborsen_error.html take an extra look at the location tag... I am using IE6 Johan - Original Message - From: "Frank Eggink" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Monday, April 02, 2001 8:51 PM Subject: RE: Friendly error messages from Microsoft get in the way (was Er ror pages defined in web.xml not found / activated) > At least for development I can switch them off. Users (and helpdesk) will have to live with it. > > I never knew people could think of developing error message obfuscators :-( > > On Monday, April 02, 2001 7:14 PM, Juan Lorandi (Chile) [SMTP:[EMAIL PROTECTED]] wrote: > > the error code is sent on the very first line of the response header-- and > > orion doesn't allow you to control that > > > > > -Original Message- > > > From: Frank Eggink [mailto:[EMAIL PROTECTED]] > > > Sent: Monday, April 02, 2001 3:56 AM > > > To: Orion-Interest > > > Subject: Friendly error messages from Microsoft get in the way (was > > > Error pages defined in web.xml not found / activated) > > > > > > > > > Well ... > > > > > > How can you spend your weekend?!? > > > > > > > > > The problem I described looks to be caused by wat's called > > > 'friendly error > > > messages' from the Internet Explorer. All runs fine with Netscape. > > > Microsoft replaces standard 404 'can not find page' errors > > > with their own > > > page, which is considered (by them) to be more user friendly. > > > > > > Still I do not understand how the Explorer gets the > > > information there is a > > > 404 error. Could this be somewhat less wanted feature of > > > Orion? I certainly > > > would like to have control over this error message. > > > > > > FE > > > > > > On Friday, March 30, 2001 5:48 PM, Frank Eggink > > > [SMTP:[EMAIL PROTECTED]] wrote: > > > > Hi, > > > > > > > > I'm having a problem. I have defined error pages in my web.xml > > > > > > > > I've defined: > > > > > > > > > > > > 404 > > > > /errors/error404.jsp > > > > > > > > > > > > Now I expect to see the error page when I request a non > > > existing page > > > like > > > > http://localhost/my-app/non-existing-page.html, which does > > > not happen. > > > I'm > > > > obviously overlooking something, but what?? > > > > > > > > [When I define the error page in a jsp page with <%@ > > > > errorpage=/errors/error404.jsp %> it does work. So it can > > > find the page, > > > > which gives me the impression I've setup something wrong. What?? > > > > > > > > > > > > FE > > > > > > > > Frank Eggink > > > > Swift Applications > > > > [EMAIL PROTECTED] > > > > +31 6 28847325 (voice) > > > > +31 33 4532464 (fax) > > > > > > > > > > > > >
RE: Friendly error messages from Microsoft get in the way (was Er ror pages defined in web.xml not found / activated)
At least for development I can switch them off. Users (and helpdesk) will have to live with it. I never knew people could think of developing error message obfuscators :-( On Monday, April 02, 2001 7:14 PM, Juan Lorandi (Chile) [SMTP:[EMAIL PROTECTED]] wrote: > the error code is sent on the very first line of the response header-- and > orion doesn't allow you to control that > > > -Original Message- > > From: Frank Eggink [mailto:[EMAIL PROTECTED]] > > Sent: Monday, April 02, 2001 3:56 AM > > To: Orion-Interest > > Subject: Friendly error messages from Microsoft get in the way (was > > Error pages defined in web.xml not found / activated) > > > > > > Well ... > > > > How can you spend your weekend?!? > > > > > > The problem I described looks to be caused by wat's called > > 'friendly error > > messages' from the Internet Explorer. All runs fine with Netscape. > > Microsoft replaces standard 404 'can not find page' errors > > with their own > > page, which is considered (by them) to be more user friendly. > > > > Still I do not understand how the Explorer gets the > > information there is a > > 404 error. Could this be somewhat less wanted feature of > > Orion? I certainly > > would like to have control over this error message. > > > > FE > > > > On Friday, March 30, 2001 5:48 PM, Frank Eggink > > [SMTP:[EMAIL PROTECTED]] wrote: > > > Hi, > > > > > > I'm having a problem. I have defined error pages in my web.xml > > > > > > I've defined: > > > > > > > > > 404 > > > /errors/error404.jsp > > > > > > > > > Now I expect to see the error page when I request a non > > existing page > > like > > > http://localhost/my-app/non-existing-page.html, which does > > not happen. > > I'm > > > obviously overlooking something, but what?? > > > > > > [When I define the error page in a jsp page with <%@ > > > errorpage=/errors/error404.jsp %> it does work. So it can > > find the page, > > > which gives me the impression I've setup something wrong. What?? > > > > > > > > > FE > > > > > > Frank Eggink > > > Swift Applications > > > [EMAIL PROTECTED] > > > +31 6 28847325 (voice) > > > +31 33 4532464 (fax) > > > > > > > > >