This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts 1.3.5 tiles:insert issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 1.3.5 tiles:insert issue" Watch "Struts 1.3.5 tiles:insert issue" New topic
Author

Struts 1.3.5 tiles:insert issue

Geoffrey Vlasaks
Greenhorn

Joined: Feb 28, 2007
Posts: 1
Hi all,<br><br>

I'm having troubles with the tiles:insert tag (version 1.3.5). My tiles are configured correctly in struts. When I use tiles:getAsString, it displays the path to my jsp as a string in the browser. When using <tiles:insert attribute='menu'/>, I always get the following stacktrace:<br><br>

SEVERE: Servlet.service() for servlet action threw exception<br>
java.lang.AbstractMethodError:<br> org.apache.jasper.runtime.PageContextImpl.include(Ljava/lang/String;Z)V<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
at java.lang.reflect.Method.invoke(Method.java:585)<br>
at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:126)<br>
at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:149)<br>
at org.apache.struts.tiles.taglib.InsertTag.doInclude(InsertTag.java:761)<br>
at org.apache.struts.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:893)<br>
at org.apache.struts.tiles.taglib.InsertTag.doEndTag(InsertTag.java:462)<br>
at org.apache.jsp.layout.mainLayout_jsp._jspx_meth_tiles_insert_0(org.apache.jsp.layout.mainLayout_jsp:101)<br>
at org.apache.jsp.layout.mainLayout_jsp._jspService(org.apache.jsp.layout.mainLayout_jsp:72)<br>
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)<br>
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<br>
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)<br>
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)<br>
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)<br>
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<br>
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)<br>
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<br>
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)<br>
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)<br>
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)<br>
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)<br>
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1054)<br>
at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:292)<br>
at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:268)<br>
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:329)<br>
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)<br>
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)<br>
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:446)<br>
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)<br>
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<br>
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)<br>
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<br>
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)<br>
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)<br>
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)<br>
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)<br>
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)<br>
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)<br>
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)<br>
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)<br>
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)<br>
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)<br>
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)<br>
at java.lang.Thread.run(Thread.java:595)<br>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 1.3.5 tiles:insert issue
 
Similar Threads
ValidationForm causes error
exception when it reach tiles:insert tag ??
Struts error cannot find bean
No getter method for property:
NullPointerException