[opencms-dev] CmsJspActionElement cannot be resolved to a type
Christoph P. Kukulies
kuku at physik.rwth-aachen.de
Wed Feb 15 12:54:35 CET 2006
On Mon, Feb 13, 2006 at 06:48:52PM +0000, Jonathan Woods wrote:
> Chris -
>
> Just the import line, really. It needs to include
> org.opencms.jsp.CmsJspActionElement; so e.g.
Argh. I took the code from a 5.0 site. There it worked.
Now it took me another hard time to check out that
I had written "com.opencms.jsp.*" instead of "org.opencms.jsp.*".
>
> <%@ page import="org.opencms.jsp.*" %>
>
> but I guess you've worked that out by now!
Now I have, thanks.
>
> 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
More information about the opencms-dev
mailing list