Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-3196

tiles insert error doInclude

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.3.8
    • None
    • Tiles 1 Plugin
    • None
    • weblogic 9.2
      redhat as 5
    • Important

    Description

      Can not be used <tiles:insert>
      Otherwise, the following error!
      Definition:
      <tiles:insert attribute='menu' />
      =========================================
      tiles-defs.xml
      <definition name="layout.base" page="/ems/base.jsp">
      <put name="menu" value="/ems/menu.jsp"/>
      </definition>
      java.lang.NoSuchMethodError: doInclude
      at org.apache.struts.tiles.taglib.InsertTag.doInclude(InsertTag.java:764)
      at org.apache.struts.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:896)
      at org.apache.struts.tiles.taglib.InsertTag.doEndTag(InsertTag.java:465)
      at jsp_servlet.demo.base._jsptag0(_base.java:132)
      at jsp_servlet.demo.base._jspService(_base.java:97)
      at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
      at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:394)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
      at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:530)
      at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:266)
      at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1062)
      at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
      at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
      at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:302)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
      at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at com.shujia.commons.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3242)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

      Attachments

        Activity

          People

            Unassigned Unassigned
            zjjvalid zhoujinjun
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: