[opencms-dev] CmsJspActionElement cannot be resolved to a type

Jonathan Woods jonathan.woods at scintillance.com
Mon Feb 13 19:48:52 CET 2006


Chris -

Just the import line, really.  It needs to include
org.opencms.jsp.CmsJspActionElement; so e.g.

 <%@ page import="org.opencms.jsp.*" %>

but I guess you've worked that out by now!

Jon

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Christoph P. Kukulies
Sent: 13 February 2006 18:36
To: opencms-dev at opencms.org
Subject: [opencms-dev] CmsJspActionElement cannot be resolved to a type

What is normally the cause for this?

I have a small template attached to a page (index.html) The code invoked is
something like

<%@ page import="com.opencms.flex.jsp.*" %><%

CmsJspActionElement cms = new
CmsJspActionElement(pageContext,request,response);

String serverName = request.getServerName();

if(serverName.indexOf(".com") != -1)
   ...
 else
...

I get a jsp compilation error in line 1:

CmsJspActionElement cannot be resolved to a type

When I invoke index.html


--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

_______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your
list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list