Re: chart in jboss portal

alex <[email protected]>
Newsgroups gmane.comp.java.open-symphony.webwork
Message-ID <1143493.1145262853156.JavaMail.os-j2ee@opensymphony01.managed.contegix.com>
i follow your instruction but i can't find renderResponse.getOutputStream() class
so i change to renderResponse.getPortletOutputStream() 
and still error but teh error is different
am i have to use renderResponse.getOutputStream()?

[code]
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.IllegalArgumentException: Content type not accepted
        at org.jboss.portal.portlet.impl.RenderResponseImpl.setContentType(Rende
rResponseImpl.java:94)
        at foo.example.ChartResult.execute(ChartResult.java:30)
        at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultA
ctionInvocation.java:300)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:198)
        at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.interce
pt(DefaultWorkflowInterceptor.java:125)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:180)
        at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:32)
[/code]
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=25758&messageID=51611#51611

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.