Hi, could you try to use the class classloader ?
Regards JB Fly13DW wrote:
Hello, I'm working with a bean component which is linked to a java bean class. In this bean, I need to access to several files: html, images. I tried to put these files in the src/main/resources directory, as it was said in some posts, but I can not accessed to them using: InputStream fis = ClassLoader.getSystemResourceAsStream(file); do I need to configure the classpath? I have few variables in the MessageExchangeListener (onMessageExchange method) :MessageExchange, DeliveryChannel but I can't find out how to read a resource... Does Someone have the answer?
-- Jean-Baptiste Onofré (Nanthrax) BuildProcess/AutoDeploy Project Leader http://buildprocess.sourceforge.net [email protected] PGP : 17D4F086
