I am using JUnit to test my Spring MVC controller. Below is my method which returns a index.jsp page and shows Hello World on the screen -
index.jsp
Hello World
You should also check your request mappings:
Does get("/...") match @RequestMapping ?
If the handleRequest is never called, you will get the same error Content type not set.
Content type not set