2 Replies Latest reply on Nov 24, 2009 9:23 PM by Phil Wilson

    changed <%  to <a4j:include in jsp does not work

    Phil Wilson Apprentice

      Hi guys,

      hi I changed my

      <%@ include file="common/footer.jsp" %>


      to
      <a4j:include viewId="common/footer.jsp"></a4j:include>


      I get this error now.

      now I get this error...SEVERE: Servlet.service() for servlet jsp threw exception
      org.apache.jasper.JasperException: /common/footer.jsp(6,55) #{..} is not allowed in template text

      Tomcat 6.0
      how do I fix this issue??

      I found several posts about this. They dont seem to work

      <jsp-property-group>
       <url-pattern>*.jsp</url-pattern>
       <deferred-syntax-allowed-as-literal>true</deferred-syntax-allowed-as-literal>
       </jsp-property-group>
       </jsp-config>
      
       <jsp-config>
       <jsp-property-group>
       <url-pattern>*.jsp</url-pattern>
       <el-ignored>true</el-ignored>
       </jsp-property-group>
       </jsp-config>



      Thanks phil...






        • 2. a4j:include in jsp issue with include statement runtime
          Phil Wilson Apprentice

          This is the code that does not seem to work..

          welcome.jsp

           <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
          
          <%
          String path = request.getContextPath();
          String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
          %>
          
          <html>
          
          <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
          <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
          <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
          <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
          
          <f:view>
          <HEAD></HEAD>
          <body>
          <a4j:form id="f1" >
          <table align="center" border="0" width="825" cellpadding="0" cellspacing="0">
          
          <a4j:include viewId="common/footer.jsp"></a4j:include>
          
           </table>
           </a4j:form>
          
           </body>
           </f:view>
          </html>
          


          Footer.jsp

          <f:loadBundle basename="loadNet" var="NetFixBundlefoot"/>
          <tr >
          <table align="center" border="0" width="910">
           <tr>
           <td align="left"><a href="/emailFormContactUs.jsf">Contact Us</a></td>
           <td align="right" width="50%"><h:outputText value="#{NetFixBundlefoot.netFixUpFooter}" /> copy sign </td>
           </tr>
          </table>
          
          <table align="center" border="0" width="910">
           <tr>
           <td align="center">
           </td>
           </tr>
          </table>
          
          </tr>



          Runtime error in Tomcat 6

          INFO: Server startup in 11609 ms
          Nov 24, 2009 9:11:36 PM org.apache.catalina.core.ApplicationDispatcher invoke
          SEVERE: Servlet.service() for servlet jsp threw exception
           org.apache.jasper.JasperException: /common/footer.jsp(7,55) #{..} is not allowed in template text
           at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
           at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
           at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:102)
           at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:711)
           at org.apache.jasper.compiler.Node$ELExpression.accept(Node.java:940)
           at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
           at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
           at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399)
           at org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
           at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
           at org.apache.jasper.compiler.Validator.validate(Validator.java:1737)
           at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:165)
           at org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)
           at org.apache.jasper.compiler.Compiler.compile(Compiler.java:294)
           at org.apache.jasper.compiler.Compiler.compile(Compiler.java:281)
           at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
           at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
           at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
           at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
           at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
           at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
           at org.ajax4jsf.taglib.html.jsp.IncludeTag.doStartTag(IncludeTag.java:234)
           at org.apache.jsp.welcome_jsp._jspx_meth_a4j_005finclude_005f0(welcome_jsp.java:5389)
           at org.apache.jsp.welcome_jsp._jspService(welcome_jsp.java:949)
           at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
           at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
           at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
           at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
           at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
           at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
           at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
           at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
           at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:473)
           at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141)
           at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
           at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:191)
           at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
           at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
           at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:154)
           at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:265)
           at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:376)
           at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:503)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
           at java.lang.Thread.run(Unknown Source)
          Nov 24, 2009 9:11:36 PM org.apache.catalina.core.ApplicationDispatcher invoke
          SEVERE: Servlet.service() for servlet jsp threw exception
          org.apache.jasper.JasperException: /common/footer.jsp(7,55) #{..} is not allowed in template text
           at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
           at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
           at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:102)
           at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:711)
           at org.apache.jasper.compiler.Node$ELExpression.accept(Node.java:940)
           at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
           at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
           at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399)
           at org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
           at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
           at org.apache.jasper.compiler.Validator.validate(Validator.java:1737)
           at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:165)
           at org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)
           at org.apache.jasper.compiler.Compiler.compile(Compiler.java:294)
           at org.apache.jasper.compiler.Compiler.compile(Compiler.java:281)
           at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
           at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
           at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
           at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
           at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
           at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
           at org.ajax4jsf.taglib.html.jsp.IncludeTag.doStartTag(IncludeTag.java:234)
           at org.apache.jsp.welcome_jsp._jspx_meth_a4j_005finclude_005f0(welcome_jsp.java:5389)
           at org.apache.jsp.welcome_jsp._jspService(welcome_jsp.java:949)
           at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
           at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
           at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
           at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
           at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
           at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
           at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
           at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
           at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:473)
           at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141)
           at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
           at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:191)
           at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
           at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
           at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:154)
           at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:265)
           at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:376)
           at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:503)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
           at java.lang.Thread.run(Unknown Source)
          Nov 24, 2009 9:11:36 PM com.sun.faces.lifecycle.Phase doPhase
          SEVERE: JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /welcome.jsp) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@e634bf]
          2009-11-24 21:11:36,662 ERROR org.ajax4jsf.webapp.BaseXMLFilter org.ajax4jsf.webapp.BaseXMLFilter doXmlFilter - Exception in the filter chain
          org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: org.apache.jasper.JasperException: /common/footer.jsp(7,55) #{..} is not allowed in template text
           at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
           at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
           at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
           at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
           at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
           at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
           at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
           at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
           at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:473)
           at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141)
           at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
           at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:191)
           at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
           at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
           at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:154)
           at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:265)
           at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:376)
           at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:503)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
           at java.lang.Thread.run(Unknown Source)
          Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException: org.apache.jasper.JasperException: /common/footer.jsp(7,55) #{..} is not allowed in template text
           at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846)
           at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
           at org.apache.jsp.welcome_jsp._jspService(welcome_jsp.java:993)
           at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
           at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
           ... 36 more
          Caused by: org.apache.jasper.JasperException: /common/footer.jsp(7,55) #{..} is not allowed in template text
           at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
           at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
           at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:102)
           at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:711)
           at org.apache.jasper.compiler.Node$ELExpression.accept(Node.java:940)
           at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
           at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
           at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399)
           at org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
           at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
           at org.apache.jasper.compiler.Validator.validate(Validator.java:1737)
           at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:165)
           at org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)
           at org.apache.jasper.compiler.Compiler.compile(Compiler.java:294)
           at org.apache.jasper.compiler.Compiler.compile(Compiler.java:281)
           at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
           at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
           at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
           at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
           at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
           at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
           at org.ajax4jsf.taglib.html.jsp.IncludeTag.doStartTag(IncludeTag.java:234)
           at org.apache.jsp.welcome_jsp._jspx_meth_a4j_005finclude_005f0(welcome_jsp.java:5389)
           at org.apache.jsp.welcome_jsp._jspService(welcome_jsp.java:949)
           ... 39 more
          Nov 24, 2009 9:11:36 PM org.apache.catalina.core.StandardWrapperValve invoke
          SEVERE: Servlet.service() for servlet Faces Servlet threw exception
          org.apache.jasper.JasperException: /common/footer.jsp(7,55) #{..} is not allowed in template text
           at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
           at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
           at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:102)
           at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:711)
           at org.apache.jasper.compiler.Node$ELExpression.accept(Node.java:940)
           at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
           at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
           at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399)
           at org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
           at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
           at org.apache.jasper.compiler.Validator.validate(Validator.java:1737)
           at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:165)
           at org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)
           at org.apache.jasper.compiler.Compiler.compile(Compiler.java:294)
           at org.apache.jasper.compiler.Compiler.compile(Compiler.java:281)
           at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
           at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
           at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
           at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
           at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
           at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)