R: content from folder

2003-02-24 Thread Raffaele Ragni
If i remember right, everything under WEB-INF was hidden by web. Or, try to put the complete path to it if you are reading it as a file from the app. -Messaggio originale- Da: Don Hill [mailto:[EMAIL PROTECTED] Inviato: lunedì 24 febbraio 2003 16.03 A: [EMAIL PROTECTED] Oggetto: content

Re: R: content from folder

2003-02-24 Thread Don Hill
Actually its not, you can access the file under WEB-INF, I was using the current classloader from the classes and I should have been using this instead InputStream is = _rundata.getServletContext().getResourceAsStream("WEB-INF/content/test.html"); and yes everything under WEB-INF is protected