@endless What's the actual problem being faced by you?
Have a look at the purpose of @ResponseBody. Problem is due to @ResponseBody anotation which is showing the content as is. The annotation is used when one wants to pass the content as Ajax response. removing the @ResponseBody will solve the purpose.