AW: [opencms-dev] CmsFile cannot resolve symbol

Mark Miller mark.miller at hema.ch
Tue Nov 11 14:42:01 CET 2003


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!








More information about the opencms-dev mailing list