1. Sending back pdf and tiff using Spring controller forum.springsource.orgI have access to an api which gives me a inputstream to tiff/pdf files. If i user servlets i just need use response.getOutputSteam and write the data into it after setting ... |
2. anotated controller to display a pdf file forum.springsource.organotated controller to display a pdf file I have the followinf code: Code: @RequestMapping(value = "/pdf_file.htm", method = RequestMethod.GET) public void pdf_file(HttpServletResponse response) { System.out.println(">>" + this.getClass().getName() + ":pdf_file()"); try { ... |