logo       

[ jetty-Bugs-1033766 ] Request and reponse object are not same after dispat: msg#00086

java.jetty.general

Subject: [ jetty-Bugs-1033766 ] Request and reponse object are not same after dispatch

Bugs item #1033766, was opened at 2004-09-23 18:43
Message generated for change (Comment added) made by jboynes
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107322&aid=1033766&group_id=7322

Category: Servlets
Group: None
>Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Jeremy Boynes (jboynes)
Assigned to: Jeremy Boynes (jboynes)
Summary: Request and reponse object are not same after dispatch

Initial Comment:
The request and response object passed to forward or
include must be the same (==) as the argument values of
the target's service method. No wrapping is allowed.

----------------------------------------------------------------------

>Comment By: Jeremy Boynes (jboynes)
Date: 2004-09-26 19:49

Message:
Logged In: YES
user_id=378919

Thanks

----------------------------------------------------------------------

Comment By: Greg Wilkins (gregwilkins)
Date: 2004-09-26 18:52

Message:
Logged In: YES
user_id=44062

DOH! forced to fix as it is in the spec - for worse or worse!!!!

Created JSR154Filter that has most of the stupid features in
it, namely request listeners and dispatch wrap under. If
the filter is
configured in webdefaults.xml, then you will be J2EE 1.4
compliant - but you will also run slower and have bizarre
stupid behaviour for some code that should be OK.

----------------------------------------------------------------------

Comment By: Greg Wilkins (gregwilkins)
Date: 2004-09-24 16:31

Message:
Logged In: YES
user_id=44062

For more info on this, read:

http://jetty.mortbay.org/jetty/doc/servlet24.html#d0e711

----------------------------------------------------------------------

Comment By: Greg Wilkins (gregwilkins)
Date: 2004-09-24 16:27

Message:
Logged In: YES
user_id=44062

Well to put is simply - DOH!!

I have had this discussion with the EG several times and I
had thought that I had prevailed in the debate. This
"requirement" forces a container to wrap under other user
wrappers and thus violate other parts of the servlet spec.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107322&aid=1033766&group_id=7322


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise