Ver Mensaje Individual
  #9 (permalink)  
Antiguo 26/10/2015, 14:53
Avatar de Profesor_Falken
Profesor_Falken
 
Fecha de Ingreso: agosto-2014
Ubicación: Mountain View
Mensajes: 1.323
Antigüedad: 9 años, 9 meses
Puntos: 182
Respuesta: JasperReport Mostrar Excel

Buenas,

Pues entonces tienes que copiar la plantilla antes de abrirla.

Código Java:
Ver original
  1. File origen = new File("RUTADETUPLANTILLAEXCEL");
  2. File destino = new File("RUTADELACOPIA");
  3.  
  4. Files.copy(origen.toPath(), destino.toPath());

Luego abres el fichero copia como te he comentado antes.

Un saludo
__________________
If to err is human, then programmers are the most human of us