HashMap params = (HashMap)inputPar;
// retrieve internationalization settings (Resources object)...
ServerResourcesFactory factory = (ServerResourcesFactory)context.getAttribute(Controller.RESOURCES_FACTORY);
Resources res = factory.getResources(userSessionPars.getLanguageId());
String t1 = res.getResource("jasper file not found: report generation is not possible.");
String langId = res.getLanguageId();
// String reportDir = context.getRealPath("WEB-INF/classes/reports/") +"/";
String dateformat = res.getDateMask(Consts.TYPE_DATE);
String path = this.getClass().getResource("/").getPath().replaceAll("%20"," ");
String reportsPath = (String)((JAIOUserSessionParameters)userSessionPars).getAppParams().get(ApplicationConsts.REPORT_PATH);
if (new File(reportsPath).isAbsolute())