[opencms-dev] RE: JSP Template with Frames II

Wim Baaijens wim at iblinden.nl
Wed Jul 23 09:54:01 CEST 2003


Hello Joachim,

Your solution is not the answer to my problem. 
All files were found by the templates. But in the mainframe (main.jsp),
the <cms:include> doesn't work.

Do I have to declare 
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
in each jsp file?

When I use frames and declare this tag in each frametarget I get the
following error: 

javax.servlet.ServletException: Resource loader error in file
'/system/modules/org.opencms.mymodule/jsptemplates/main.jsp'

Root cause:
org.apache.jasper.JasperException: FlexDispatcher: Dectected inclusion
loop for target
/system/modules/nl.iblinden.rtb.femina/jsptemplates/main.jsp

So, I removed the <%taglib ... %> from the mainframe. The error
disappears, but the <cms:include> doesn't work.
I think here is the problem, but I don't know how to solve it..

Greetings,

Wim





More information about the opencms-dev mailing list