I have a system built using Spring Framework 3, and now I have to implement the file upload. To perform the donwload action, I usually get an HttpServletReponse object, set the headers and get the output stream from it.
This works well, but I would like to know if there is an easier / smarter way to do this?
Many thanks!
spring-mvc download controller action
Mikhas
source share