This content has been marked as final.
Show 3 replies
-
1. Re: Contenttype
ndkhoiits Jan 25, 2011 11:26 PM (in response to thomman)Sorry, i cannot understand what 'content type' means
-
2. Contenttype
rraposa Jan 26, 2011 1:38 AM (in response to ndkhoiits)Are you talking about the following:
protected void doView(RenderRequest request, RenderResponse response)
throws PortletException, IOException, UnavailableException {
response.setContentType("text/html");
//Send back the response...
}
-
3. Contenttype
ndkhoiits Jan 26, 2011 9:10 PM (in response to rraposa)FYI, the content type can be set by doHeader method as PLT.11.1.4.3 in specs