Hi guys,
I want to redirect control from a portlet to a servlet, then setting content type of the response using following statement:
   renderResponse.setContentType("application/octet-stream");
   OR
   response.setContentType("application/octet-stream");
but an IllegalArgumentException threw at the run time.
I even set mime-type in the portlet.xml file, but it didn't work.
Any solution?
Thanx anyway