[opencms-dev] RE: JSP Template with Frames points to another JSP Template
Wim Baaijens
wim at iblinden.nl
Thu Jul 24 08:54:02 CEST 2003
Hello Achim and others,
When I let the XML mastertemplate point to the jsptemplate with the
<cms:include___/>, there are no errors!!!
But when I let the XML mastertemplate point to a jsptemplate which
defined the frames, I get
the error.
In the jsptemplate I defined the frames:.
<frame src="<cms:link>main.jsp</cms:link>" name="MainFrame"
scrolling="auto"> When I delete this line, there are no problems with
the template.
In the main.jsp I include this line: <cms:include___/>. : <cms:include
element="body" />
This result in 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
This also result in the same error:
<cms:template element="body">
<cms:include element="body" />
</cms:template>
But I don't know the difference..
When I let the XML mastertemplate point to the jsptemplate with the
<cms:include___/>, there are no errors!!!
In all jsptemplate I include this line: <%@ taglib prefix="cms"
uri="http://www.opencms.org/taglib/cms" %>
Greetings,
Wim
More information about the opencms-dev
mailing list