Tiles Issue - javax.servlet.jsp.JspException: ServletException while including
page.
------------------------------------------------------------------------------------
Key: TILES-285
URL: https://issues.apache.org/struts/browse/TILES-285
Project: Tiles
Issue Type: Bug
Components: tiles-api
Affects Versions: 2.0.6
Environment: Windows
Tomcat tomcat-5.5.26
jdk1.6.0_10
Reporter: Wole Adetiba
Here is an error that comes up whenever I try to open some pages in a struts 2
application that I am develeoping:
SEVERE: JSPException while including path '/jsps/cpf/cpfHome.jsp'.
javax.servlet.jsp.JspException: ServletException while including page.
at org.apache.tiles.context.jsp.JspUtil.doInclude(JspUtil.java:86)
at
org.apache.tiles.context.jsp.JspTilesRequestContext.include(JspTilesRequestContext.java:65)
at
org.apache.tiles.context.TilesRequestContextWrapper.include(TilesRequestContextWrapper.java:64)
at
org.apache.struts2.tiles.StrutsTilesRequestContext.include(StrutsTilesRequestContext.java:120)
at
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:431)
at
org.apache.tiles.taglib.InsertAttributeTag.render(InsertAttributeTag.java:96)
I use eclipse 3.3 for the development and I am able to run the this well in the
development environment but this error comes up when the page is access from
the version that is deployed to Tomcat.
Here are the tiles configuration snippets:
....
<definition name="tiles.cpf.home" extends="tiles.cpf.common">
<put name="title" value="Procurement & Contract Electronic
Forms - CPF Home"/>
<put name="body" value="/jsps/cpf/cpfHome.jsp"/>
</definition>
....
struts.xml
...
<action name="cpfHome" method="cpfHome" class="....">
<result name="home" type="tiles">tiles.cpf.home</result>
<result name="input" type="tiles">tiles.cpf.add</result>
</action>
...
Thanks for any information that I can help to resolve this.
Wole
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.