• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

servlet exception while including page

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
getting javax.servlet.jsp.JspException: ServletException while including page using tiles template.

i am getting above exception when i try to include struts tag in my body jsp

i am using spring mvc in which i integrate struts tiles and tag libraries

<html>
<%@ taglib uri="http://struts.apache.org/tags-logic"
prefix="logic"%>
<body>
<form name="mystuff" action="hello.htm" method="post"><input
type="hidden" name="actionType" value="save" />
<table height="50%" width="100%">
<tr height="15%">
<td class="labelStyle">Product Name</td>
<td width="221"><input class="text" type="text"
name="productName" /></td>
<td class="labelStyle" width="146">Product Type</td>
<td width="475"><input class="text" type="text"
name="productType" /></td>
</tr>

<tr height="15%">
<td class="labelStyle">Manufacturer</td>
<td width="221"><input class="text" type="text"
name="manufacturer" /></td>
<td class="labelStyle" width="146">Price</td>
<td width="475"><input class="text" type="text" name="price" /></td>
</tr>


</table>

</form>

</body>

exception in my tomcat server

SEVERE: JSPException while including path '/WEB-INF/jsp/product.jsp'.
javax.servlet.jsp.JspException: ServletException while including page.
at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102)
at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesR
equestContext.java:88)
at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTiles
RequestContext.java:82)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.
java:465)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttribute
Tag.java:140)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttribute
Tag.java:117)
at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport
.java:171)
at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecur
ityTagSupport.java:75)
at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTag
Support.java:80)
at org.apache.jsp.WEB_002dINF.jsp.layout_jsp._jspx_meth_tiles_005finsert
Attribute_005f1(layout_jsp.java:175)
at org.apache.jsp.WEB_002dINF.jsp.layout_jsp._jspService(layout_jsp.java
:80)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:369)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
08)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:659)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
tionDispatcher.java:457)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:395)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:311)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(S
ervletTilesRequestContext.java:198)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(
ServletTilesRequestContext.java:185)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.
java:419)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.
java:370)
at org.springframework.web.servlet.view.tiles2.TilesView.renderMergedOut
putModel(TilesView.java:63)
at org.springframework.web.servlet.view.AbstractView.render(AbstractView



if i remove that struts tag, my application works fine

please help me on this

 
That is a really big piece of pie for such a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic