logo       

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

java.jetty.general

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

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

Category: Servlets
Group: None
Status: Open
>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: Greg Wilkins (gregwilkins)
Date: 2004-09-27 01: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 23: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 23: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: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl


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

News | FAQ | advertise