I use WebWork with no JSPs.
I check for attributes in a filter after request is processed by
the 'action' servlet.
Do I miss something here?

Thank you very much.

alex

Wednesday, September 25, 2002, 3:48:29 PM, you wrote:
GW> With the stand alone Jetty that is used in jboss 3.0.2b, I get
GW> different behaviour.

GW> In the jetty demo, I changed the 404 error page to dump/info
GW> which should end up being served by the dump servlet.

GW> A request to  http://localhost:8080/jetty/xxxxx
GW> does end up being served from the dump servlet with:

GW>    getMethod: GET
GW>    getContentLength: -1
GW>    getContentType: null
GW>    getRequestURI: /jetty/xxxxx
GW>    getContextPath: /jetty
GW>    getServletPath: /dump
GW>    getPathInfo: /info

GW> ...

GW> Request Attributes
GW>    javax.servlet.error.servlet_name:  Default
GW>    javax.servlet.error.request_uri: /jetty/xxxxx
GW>    javax.servlet.error.status_code: 404
GW>    javax.servlet.error.message: /jetty/xxxxx Not Found


GW> So the status looks to be working OK.   But the problem I
GW> did find is that if I make the error page a JSP - the new
GW> jasper2 is dieing with a array out of bounds error deep in
GW> it's bowels....     So I'll investigate that further.

GW> cheers




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


-- 
Best regards,
 Alex Loubyansky




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

Reply via email to