• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Fix to allow using WOResponse.setContentStream() for servlet deployments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Long response page to hide page component generation time
  • Next by Date: WOWODC 2015 Schedule
  • Previous by thread: Re: Long response page to hide page component generation time
  • Next by thread: WOWODC 2015 Schedule
  • Index(es):
    • Date
    • Thread