Marcel Dullaart wrote:
Hi all,
Is it anyway possible in portlet code, to retrieve the mimetype(s) supported by the portlet from the portlet descriptor?
Just before calling RenderResponse.setContentType(), I'd like to check if the mime type to be set is supported.
Thanx,
Marcel
Hi,
no there is no API for this, however, as you also coded the deployment descriptor you should now the MIME types your portlet supports, right?
Stefan
