
15/06/2010, 09:58
|
 | | | Fecha de Ingreso: enero-2010
Mensajes: 10
Antigüedad: 15 años, 1 mes Puntos: 0 | |
Respuesta: ¿Cómo apunto a un archivo que está en un .jar? A mi me paso algo parecido Alberto, intentaba cojer y modificar un properties y con un FileInputStream me daba un FileNotFoundException, pero con "getClass().getResourceAsStream" me funciono:
getClass().getResourceAsStream("/tu_archivo.html")
Lo lei aqui, por si necesitas mas información
http://www.velocityreviews.com/forums/t149161-jar-and-file-properties.html |