[jboss-user] [JBoss Portal] - download non-html file from portlet

hubertg do-not-reply at jboss.com
Thu Jul 13 07:11:11 EDT 2006


Hi,

a portlet normally provides a HTML fragment. All portlets of a portal must provide content of the same content type.

Now, what if I want to have a link to a pdf, doc, xls .... file within a portlet? Within a servlet I just set the response's content type and write into the out stream. Is there a analogous way for portlets? Thank you very much!

regards,
hubert

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957689#3957689

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957689



More information about the jboss-user mailing list