[opencms-dev] JSP template problem
Ivan Jelenic
ivan.jelenic at nbs.yu
Thu Jun 12 12:03:01 CEST 2003
I get it in this:
String filename = cms.getRequestContext().getUri();
Thanks for helping!
----- Original Message -----
From: "Thomas März" <thomasmaerz at gmx.de>
To: <opencms-dev at opencms.org>
Sent: Thursday, June 12, 2003 11:39 AM
Subject: Re: [opencms-dev] JSP template problem
> "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
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list