On 04/22/2010 09:14 PM, Rossen Stoyanchev wrote:
Apologies once more for the duplicate mailings. It seems using the forum pages(http://old.nabble.com/Apache-Pluto-f14378.html) doesn't work too well.
No problem.
No response to the message below?
Sorry, I saw your reply yesterday but haven't had the time yet to properly read or comment on. Will try to do so tomorrow. Regards, Ate
----------------------------------------------------- Hi, Firstly, I apologize for having my message go out multiple times. I was using a forum page (http://old.nabble.com/Pluto---User-f200.html) that continues to show 0 replies and a warning that the message has not been accepted. I can't see why that is. I've subscribed to the mailing list but I don't get any emails either. At the end I found the responses on the mailing list archive. Not sure what I'm doing wrong. @Martin, with regards to your suggestions, did you mean to point to this source? http://fisheye5.cenqua.com/browse/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/core/ImportSupport.java?r=1.5&k= The class cast fails on com.sun.faces.portlet.ByteArrayWebOutputStream (as opposed to java.io.ByteArrayOutputStream). I'm not sure why changing the above source code would have any impact? Also the application is using JSF with Facelets, there is no jstl usage. The reason I pointed to HttpServletPortletResponseWrapper is because it calls javax.portlet.MimeResponse.getOutputStream(). For good or for bad the JavaDoc for that method says it returns a plain java.io.OutputStream: http://portals.apache.org/pluto/portlet-2.0-apidocs/javax/portlet/MimeResponse.html#getPortletOutputStream() Instead of casting to ServletOutputStream, couldn't HttpServletPortletResponseWrapper create an instance of ServletOutputStream that wraps the OutputStream returned by MimeResponse? Thanks, Rossen