[opencms-dev] Problem with scriptlets

Alexander Langer al at al-arenal.de
Wed Jul 9 18:40:02 CEST 2003


Hi!

I'm still new to JSP and got a problem. My JSP looks something like
this:

-----
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
<jsp:useBean id="cms" class="com.opencms.flex.jsp.CmsJspActionElement" />

private String Punkt() {
  com.opencms.flex.jsp.CmsJspActionElement cms = new CmsJspActionElement(pageContext, request, response);
  String title = cms.property("Title");

  return title;
}
-----

It gets include by a template to do some stuff. Problem is, I get this
error:

-----
Generated servlet error:
    [javac] Since fork is true, ignoring compiler setting.
    [javac] Compiling 1 source file
    [javac] Since fork is true, ignoring compiler setting.
    [javac] /opt/tomcat/work/Standalone/localhost/opencms/WEB-INF/jsp/online/system/modules/org.leaderspoint.site/jsptemplates/test_jsp_jsp.java:72: cannot resolve symbol
    [javac] symbol  : class CmsJspActionElement 
    [javac] location: class org.apache.jsp.test_jsp_jsp
    [javac]   com.opencms.flex.jsp.CmsJspActionElement cms = new CmsJspActionElement(pageContext, request, response); 
    [javac]   
-----
    
I just used the code from the documentation, so didn't expect any
problems here.
    
al
-- 
Alexander Langer
homepage: http://www.al-arenal.de
mailto: langer at al-arenal.de





More information about the opencms-dev mailing list