[opencms-dev] JSP template problem

Thomas März thomasmaerz at gmx.de
Thu Jun 12 11:48:00 CEST 2003

"Ivan Jelenic" <ivan.jelenic at nbs.yu> writes:
> I am using JSP template to build my html pages. In offline mode
> everything works fine. But when I publish them I see a system error! My
> problems begin when I add this code: 
>  // Create a string contains an owner of resource
> CmsObject cmsObject =cms.getCmsObject();
> CmsResource res=cmsObject.readFile(filename);
Where do you get the String filename from?
BTW the method readFile returns an Object of CmsFile.

Best Regards,
Thomas März

More information about the opencms-dev mailing list