drb.setUseFullPageWidth(true); // use full width of the page
dr = drb.build(); // build the report
// Get information from database
SecurityService sv = (SecurityService) SpringUtil.getBean("securityService");
List<SecRight> resultList = sv.getAllRights();
// Create Datasource and put it in Dynamic Jasper Format
List data = new ArrayList(resultList.size());
for (SecRight obj : resultList) {