Web tier: servlets, JSP, Web frameworks: Setting contentType in a portlet application
- Posted by: nima haghpanah
- Posted on: February 20 2005 13:18 EST
I want to redirect control from a portlet to a servlet, then setting content type of the response using following statement:
but an IllegalArgumentException threw at the run time.
I even set mime-type in the portlet.xml file, but it didn't work.