Thanks! Works now.

Cheers
Jonny

Thomas Soddemann wrote:

Hi Jonny,

use
InputStream xmlInputStream = com.aaa.bbb.ccc.class.getResourceAsStream(...);

Cheers,
Thomas

Johannes Becker wrote:

Hi,

I've got a package, let's say: com.aaa.bbb.ccc

In folder ccc I've got a class and a file ccc.xsl . In this class I'm
accessing this file. In my case:

InputStream xmlInputStreamInput = *new*
FileInputStream("com\\aaa\\bbb\\ccc.xsl");

Then I get an error that the file couldn't be found.

How can I address this file correctly in cocoon?

Thanks
Jonny

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to