Jump to content
We've recently updated our Privacy Statement, available here ×

raulrojash

Members
  • Posts

    1
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by raulrojash

  1. Please help me!!!! I have this section code: ................................. ...................... byte[] bytes = null; Map<String, Object> parameters = new HashMap<String, Object>(); parameters.put("fecha_generacion", "Septiembre 07, 2013"); parameters.put("cuenca_nombre", "mi cuenca"); Map data = new HashMap(); data.put("variable_informe_texto", "Variable de prueba 01"); data.put("variable_informe_recomendacion", "la recomendacion es xxxxx"); Map data2 = new HashMap(); data2.put("variable_informe_texto", "Variable de prueba 02"); data2.put("variable_informe_recomendacion", "la recomendacion es yyyyyy"); List dataList = new ArrayList(); dataList.add(data); dataList.add(data2);JRMapCollectionDataSource JRMapDataList = new JRMapCollectionDataSource(dataList); bytes = JasperRunManager.runReportToPdf(reportFile.getPath(), parameters, JRMapDataList); Now how to send this byte array. and how to load fro jquery with ajax? Thanksss!!!
×
×
  • Create New...