Monthly Archives: August 2010

More about Criteria

  In the earlier note, I have compared the using named query and criteria in general. In this note, I will talk a bit more about the criteria, as I have realised one major advantage of criteria that was not … Continue reading

Posted in Hibernate | Leave a comment

Create PDF file with custom open actions

This article will illustrate how to dynamically generate a PDF file, which will have the print dialog box automatically popped up when the file is opened in your web application. public ModelAndView handleRequestInternal(HttpServletRequest request, HttpServletResponse response) throws Exception {    //if … Continue reading

Posted in Dynamic File Generation | Leave a comment