With the stand alone Jetty that is used in jboss 3.0.2b, I get different behaviour.
In the jetty demo, I changed the 404 error page to dump/info which should end up being served by the dump servlet. A request to http://localhost:8080/jetty/xxxxx does end up being served from the dump servlet with: getMethod: GET getContentLength: -1 getContentType: null getRequestURI: /jetty/xxxxx getContextPath: /jetty getServletPath: /dump getPathInfo: /info ... Request Attributes javax.servlet.error.servlet_name: Default javax.servlet.error.request_uri: /jetty/xxxxx javax.servlet.error.status_code: 404 javax.servlet.error.message: /jetty/xxxxx Not Found So the status looks to be working OK. But the problem I did find is that if I make the error page a JSP - the new jasper2 is dieing with a array out of bounds error deep in it's bowels.... So I'll investigate that further. cheers Jules Gosnell wrote:> forwarding you to Jetty-Discuss... > > > Jules > > ------------------------ Yahoo! Groups Sponsor ---------------------~--> > 4 DVDs Free +s&p Join Now > http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/CefplB/TM > ---------------------------------------------------------------------~-> > > For the latest information about Jetty, please see http://jetty.mortbay.org > > To alter your subscription to this list goto >http://groups.yahoo.com/group/jetty-discuss > > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ > > > > ------------------------------------------------------------------------ > > Subject: > [JBoss-user] Jetty's javax.servlet.error request attributes > From: > Alex Loubyansky <[EMAIL PROTECTED]> > Date: > Tue, 24 Sep 2002 16:01:34 +0300 > To: > JBoss-User <[EMAIL PROTECTED]> > > > Should javax.servlet.error.status_code attribute contain a > corresponding value in case of HTTP error? > Is it mandatory by the spec? > > With Jetty that comes with current JBoss-3.2.0beta2 status_code is > null for 404 (haven't tried others). > But servlet_name has a value set in case of error. > The attributes were tested in a filter after request was processed by > a servlet. > > Could someone, please, explain how it works and how it supposed to > work? > > Thank you very much. > > alex > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- Greg Wilkins<[EMAIL PROTECTED]> Phone/fax: +44 7092063462 Mort Bay Consulting Australia and UK. http://www.mortbay.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user