Hi all
i hai the same problem discussed here but i'm going to fighting with an
application/pdf mime tipe.
the proble is analogous, what change is the type of output returned.
I have developed a CMS portlet that contain a link to my PDF file that is stored in the
CMS too, but now i need to open the pdf content only within a window, reading the PDF file
from a CMS
I have already set the returned mime type in my portlet implementation
rResponse.setContentType("application/pdf");
and in my portlet.xml
<mime-type>application/pdf</mime-type>
but as result i have only seen a "wonderful", unlimited stack trace in my
server's log that say:
java.lang.IllegalArgumentException: Content type not accepted
...
<infinite stack...>
...
Caused by: javax.activation.MimeTypeParseException: Type [application/pdf] not supported
any advice will be appreciated!!!
I use jboss portal 2.6.5
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166622#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...