Originally posted by minu su:
What is the difference between
<%@ page contentType="text/html"%>
<%@ page mimeType="text/html"%>
The main difference is that the second one is incorrect since mimeType is not an attribute of the page directive.
Besides, the contentType attribute defines the MIME type and the character encoding for the response of the
JSP page.