I am using Spring ModelAndView to display a JSP. I have a requirement that I need to produce an HTML page, to be placed on a different server. This will be generated once a day and move to a different server.
Is there an easy way to direct the output of the ModelAndView to a file instead of the web? Or is there an easy way to reuse most of the code to produce a static HTML page?