AW: AW: [opencms-dev] CmsFile cannot resolve symbol
Fabian
Fabian18 at firemail.de
Tue Nov 11 14:48:02 CET 2003
Many Thanks!! It works! I can't believe that it's so easy!!
------- Ursprüngliche Nachricht -------
Von: Mark Miller <mark.miller at hema.ch>
Datum: Tue, 11 Nov 2003 14:41:04 +0100
Weiterleiten: AW: [opencms-dev] CmsFile cannot resolve symbol
Have you included CmsFile ?
I think its in com.opencms.file.CmsFile
-----Ursprüngliche Nachricht-----
Von: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org] Im Auftrag von Fabian
Gesendet: 11 November 2003 14:38
An: opencms-dev at opencms.org
Betreff: [opencms-dev] CmsFile cannot resolve symbol
Hi,
I recieve an error:
cannot resolve symbol
symbolclass: class CmsFile
location: class org.apache.jsp.jsptemplate1_jsp
CmsFile file = c.getCmsObject().readFile( pn );
There must be something wrong in these two lines of my jsp-code:
CmsFile file = c.getCmsObject().readFile( pn );
String fileResult = new String(file.getContents());
because if I comment these two lines out and defines: String fileResult
= "this is a test";
the jsp-code works fine.
I checked the values of the variables. They are correct.
(c = com.opencms.flex.jsp.CmsJspActionElement at 91b721
pn = /system/bodies/benutzerhandbuch/themen/thema4/jsp.html)
Can someone help me?
Thanks
_________________________________________________________________
www.ebay.de Hier Finden Sie Auktionen und Festpreisangebote!
_______________________________________________
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
_________________________________________________________________
www.ebay.de Hier Finden Sie Auktionen und Festpreisangebote!
More information about the opencms-dev
mailing list