8 Replies Latest reply on Mar 3, 2014 2:48 PM by 4514d351-1198-48fb-b603-d6c15fc0d6b1

    My application is working fine in Tomcat 7.0 but not in weblogic

    4514d351-1198-48fb-b603-d6c15fc0d6b1

      Hi All,

       

      I am deploying web application on Weblogic 0.3.6. Application is deployed successfully but I am getting below error when I am trying to access the application

      Root cause of ServletException.

      • org.apache.tiles.impl.CannotRenderException: JSPException including path '/WEB-INF/views/common/common.jsp'.

        at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:692)

        at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:644)

        at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:628)

        at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:322)

        at org.springframework.web.servlet.view.tiles2.TilesView.renderMergedOutputModel(TilesView.java:125)

        Truncated. see log file for complete stacktrace

      Caused By: org.apache.tiles.util.TilesIOException: JSPException including path '/WEB-INF/views/common/common.jsp'.

        at org.apache.tiles.servlet.context.ServletUtil.wrapServletException(ServletUtil.java:241)

        at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:105)

        at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:96)

        at org.apache.tiles.renderer.impl.TemplateAttributeRenderer.write(TemplateAttributeRenderer.java:44)

        at org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer.render(AbstractBaseAttributeRenderer.java:106)

        Truncated. see log file for complete stacktrace

      Caused By: weblogic.servlet.jsp.CompilationException: Failed to compile JSP /WEB-INF/views/common/common.jsp

      1. common.tag:45:102: Syntax error in expression. Encountered "(". Expected one of : "}", ".", "[", ">", "gt", "<", "lt", ">=", "ge", "<=", "le", "==", "eq", "!=", "ne", "&&", "and", "||", "or", "*", "+", "-", "?", "/", "div", "%", "mod",

      <c:when test="${check.attributes['checkbox'].equalsIgnoreCase(\"Y\")}">

      ^


      It is working fine in Tomcat 7.0.

      I am using  jsp-api-2.1.jar,jstl-1.2.jar,jta-1.1.jar.

       

      Please help me on this. Thanks.