You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Wole Adetiba (JIRA)" <ji...@apache.org> on 2008/07/16 12:14:05 UTC

[jira] Created: (TILES-285) Tiles Issue - javax.servlet.jsp.JspException: ServletException while including page.

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 &amp; 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.


[jira] Closed: (TILES-285) Tiles Issue - javax.servlet.jsp.JspException: ServletException while including page.

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/TILES-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Petrelli closed TILES-285.
----------------------------------

    Resolution: Not A Problem

Please do not use JIRA to ask question.
Please send an e-mail to the Tiles Users mailing list:
http://tiles.apache.org/mail.html

> 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 &amp; 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.