Originally posted by Luke Shannon: I am unclear about what calling response.setContentType("text/html; charset=UTF-8");
Exactly as the docs say, it sets the content type and char set of the response being sent to the client so that the browser knows what type of file it is (an HTML page vs. an image, for example) and what the char set of the response body is.
Joined: Sep 30, 2004
Thank you both. It is all clear now.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com