[jboss-user] [JBoss Portal] - Re: image/png Content type not accepted

2006-10-30 Thread seansullivan
I encountered the same problem. I have a portlet that produces a PNG image. The portlet writes the PNG data to the PortletOutputStream. I am using jboss-portal-2.4.1-cr1 (JBoss Portal + JBoss bundle) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980531#39

[jboss-user] [JBoss Portal] - Re: image/png Content type not accepted

2006-10-24 Thread seansullivan
This presentation discusses resource serving portlets in JSR 268: http://www.us.apachecon.com/presentations/FR8/FR8-JSR-286-updated.pdf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980621#3980621 Reply to the post : http://www.jboss.com/index.html?module=

[jboss-user] [JBoss Portal] - Re: image/png Content type not accepted

2006-10-24 Thread seansullivan
In the Portle 2.0 specification, the portlet class may implement the javax.portlet.ResourceServingPortlet interface anonymous wrote : | public interface ResourceServingPortlet | | The ResourceServingPortlet interface allows serving resources through the portlet. | | The portlet cont

[jboss-user] [JBoss Portal] - Re: image/png Content type not accepted

2006-10-24 Thread seansullivan
I fixed my portlet.xml file but I don't think JBoss Portlal can handle a portlet that produces image/png data. On the OpenSymphony message board, I found a discussion about producing image output from a portlet: http://forums.opensymphony.com/message.jspa?messageID=52699 anonymous wrote : |

[jboss-user] [JBoss Portal] - Re: image/png Content type not accepted

2006-10-24 Thread seansullivan
I found a flaw in my portlet.xml file: | | text/html | EDIT | VIEW | HELP | | I'll change the mime-type to image/png and post the results later today. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980534#39