# contentType directive

The contentType directive defines the character encoding for the JSP page ,for the response of the JSP page and for the MIME type for the response of the JSP page.

### Summary

contentType cases

### Positive Test(s)

positiveContenttype: Here, the directive is used to set the TYPE and charset. Check is done from javatest side , to check whether the set one has returned or not.

title | ExtendsTest
source | ContenttypeTest.java
executeClass | core_syntax.directives.page.content.ContenttypeTest
executeArgs | -TestCaseID positiveContenttype -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps
keywords | positive extensionAPI