Using Jasper Reports with Visual Web Pack

This tutorial illustrates the use of Jasper Reports with a Visual Web Pack application. Register Jasper Reports library Use the NetBeans Library Manager to create a library for the Jasper Reports class libraries. You need at least the following files from the distribution: dist/jasperreports-<version>.jar lib/commons-beanutils-1.7.jar lib/commons-collections-2.1.jar lib/commons-digester-1.7.jar lib/commons-logging-1.0.2.jar lib/itext-1.3.1.jar Register Jasper Reports image servlet The image servlet is needed if you want html rendered reports (also without any graphical elements, because report placeholders uses images from this servlet). So you must register it in the web.xml configuration file. You can use the NetBeans web.xml editor to do so. Servlet name[…]

Read more