[opencms-dev] Getting content of a file

Mario Wallnöfer mario.wallnoefer at msk-informatik.at
Tue Apr 8 13:46:00 CEST 2003


Dear Users,

i am developing an intranet for our customer. I have developed some
enhancements in Java and all works fine.

Now i need to read the content of a file (html, xml or txt).

I have the CmsFile Object, but when i call the getContents() method i
get back a ByteArray with zero length.

Is this the right way to access the content ?

Please help


Mario




More information about the opencms-dev mailing list