This content has been marked as final. Show 2 replies
File f = new File(this.getClass().getResource("/yourfileinarchive").getFile())
thank you for posting. i've already found an other solution. the extra dificuly was that i didn't read the files in the JSP itself, but in plain JAVA classes. So i solved the problem by saving the path with :
in a Singleton (Predefinition). In this way all the classes could reach the online files!
A new happy JBoss user!