[opencms-dev] inclusion loop error
dny at sdcgrp.com
dny at sdcgrp.com
Thu Oct 23 09:34:01 CEST 2003
Hello,
Why I'm failed when creating a jsp page (index.jsp) using my template
(mytemplate_standard.jsp)? (A html page is OK)
What does "inclusion loop" error mean?
Here is the content of my index.jsp page:
<%@ page session="true" %>
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
<cms:include property="template" suffix=".jsp" element="new_head" />
<cms:include property="template" suffix=".jsp" element="new_body" />
<cms:include property="template" suffix=".jsp" element="newfoot" />
Below is my opencms folder:
(Root folder)
|--myproject
|-- |--index.jsp
|--release
|--system
|-- |--bodies
|-- |--galleries
|-- |--login
|-- |--modules
|-- |-- |--org.mymodule.default
|-- |-- |-- |--classes
|-- |-- |-- |--contenttemplates
|-- |-- |-- |--elements
|-- |-- |-- |--frametemplates
|-- |-- |-- |--jsptemplates
|-- |-- |-- |-- |--mytemplate_standard.jsp
|-- |-- |-- |--lib
|-- |-- |-- |--pages
|-- |-- |-- |--resources
|-- |-- |-- |--templates
|-- |-- |-- |-- |--mytemplate_standard
|-- |-- |--org.opencms.default
|-- |-- |--org.opencms.templates
|-- |-- |--org.opencms.welcome
|-- |--shared
|-- |--workplace
The error is:
javax.servlet.ServletException: Resource loader error in file
'/myproject/index.jsp'
Root cause:
javax.servlet.ServletException: FlexDispatcher: Dectected inclusion loop for
target /myproject/index.jsp
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:463)
Thanks,
Yendung
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20031023/276f104d/attachment.htm>
More information about the opencms-dev
mailing list