I'm using the struts2 jasperreports plugin and it works well. The problem is that I want to pass exportParameters and I'm not sure how to do that through the plugin. I did it: @Result( name = "XLS", value = "//Informe.jasper", type = JasperReportsResult.class, params = { "dataSource", "listaResultados", "format", "XLS", "contentDisposition", "attachment;filename="Informe.xls"", "exportParameters", "exportParametersJR" })@SuppressWarnings("unchecked") public Map getExportParametersJR(){ JRXlsExporter jrXlsExporter = new JRXlsExporter(); JrXlsExporter.setParameter( JRXlsExporterParameter.IS_ONE_PAGE_PER_SHEET,Boolean.TRUE); return jrXlsExporter.getParameters(); } I tried, and I got the datasource correctly, but when I add this line "exportParameters", "exportParametersJR" it show me this exception: could anyone help me?