Ver Mensaje Individual
  #135 (permalink)  
Antiguo 11/05/2005, 08:22
stavera
 
Fecha de Ingreso: abril-2005
Ubicación: medellin colombia
Mensajes: 25
Antigüedad: 19 años
Puntos: 0
De acuerdo Para Destruktor

Hola Destruktor, haber si te entiendo solo se coloca la linea que me envias y mi codigo quedaria así si lo hago en el jsp
File reportFile = new File(application.getRealPath("/reportes/oto.jasper"));
Map parameters = new HashMap();

byte[] bytes = JasperRunManager.runReportToPdf(reportFile.getPath (), parameters, conn);

response.setContentLength(bytes.length);
ServletOutputStream ouputStream = response.getOutputStream();
ouputStream.write(bytes, 0, bytes.length);
ouputStream.flush();
ouputStream.close();

O como sería no te entiendo muy bien.

Muchas gracias por tu ayuda