From: SourceForge.net <no...@so...> - 2005-03-13 12:44:27
|
Bugs item #1145810, was opened at 2005-02-21 22:31 Message generated for change (Settings changed) made by gregwilkins You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107322&aid=1145810&group_id=7322 Category: None Group: None >Status: Closed Resolution: Fixed Priority: 5 Submitted By: Mike Traum (mtraum) Assigned to: Nobody/Anonymous (nobody) Summary: jetty does not follow spec regarding RequestDispatch.forward Initial Comment: I don't really know what the implications of this bug is, but I was tracking down a bug in struts, which can be seen here: http://issues.apache.org/bugzilla/show_bug.cgi?id=32014 This lead me to open a Tomcat bug here: http://issues.apache.org/bugzilla/show_bug.cgi?id=33640 Unfortunately, it appears that I was wrong. In doing my testing, I noticed that Jetty was the only container I tested (out of Tomcat 4 & 5, Resin, OC4J, and Weblogic) that 'passed' the invalid test as displayed in the .war file attached to the tomcat bug referenced above. ---------------------------------------------------------------------- Comment By: Greg Wilkins (gregwilkins) Date: 2005-02-23 10:16 Message: Logged In: YES user_id=44062 Ah the old wrap-over vs wrap under issue!!! The spec is truely ambiguous about this issue. Jetty jumped left and everybody else jumped right. But right is a truely aweful way to jump and I have written about this at http://jetty.mortbay.org/jetty/doc/servlet24.html#d0e711 But not to be the odd container out, jetty does also support the stupid wrap-under approach. If you look in the webdefault.xml file for Jetty, you will see the JSR154 stupidness filter defined. If you remove the comments you can have all the really stupid "features" from JSR154 such as wrap under and request attribute listeners (please TELL me a use for these that wrappers cannot solve?) So ranting aside, jetty does support that behaviour, but only optionally because it is so stupid (oops ranting again). I'm going to have one more try during the next JSR round to get this behaviour revoked and if I fail then I will corrupt the core of Jetty and build it in more tightly. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107322&aid=1145810&group_id=7322 |