Fix to allow using WOResponse.setContentStream() for servlet deployments
Fix to allow using WOResponse.setContentStream() for servlet deployments
- Subject: Fix to allow using WOResponse.setContentStream() for servlet deployments
- From: Faizel Dakri <email@hidden>
- Date: Thu, 08 Jan 2015 01:30:46 -0600
As has been mentioned before, WOResponse's setContentStream() is broken for servlet deployments. There looks to be a bug in com.webobjects.jspservlet._WOApplicationWrapper.dispatchServletResponse() where it ignores the WOResponse's content stream when writing to the servlet response's output stream.
I have fixed this locally by replacing the WO version with a decompiled version of the class incorporating the necessary correction. If I wanted to add this to Wonder, where would I put this? This is specific to servlet builds, but could go in ERExtensions, since it already has a dependency on JavaWOJSPServlet. I do see quite a few other WO replacements in there, but I don't see any servlet code there, so I wanted to check beforehand in case there is a better place for it.
Thanks.
F
--
Faizel Dakri
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden