21-Jun-2013
How to return a file, a stream or a classpath resource from a Spring MVC controller
You can use AbstractResource subclasses as return values from the controller methods, combining them with the @ResponseBody method annotation.
You can use AbstractResource subclasses as return values from the controller methods, combining them with the @ResponseBody method annotation.