Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-8112

JBossWeb Regression - Tomcat 48627 - JasperException with JSF tags and value expressions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • EAP_EWP 5.2.0
    • EAP_EWP 5.1.2
    • Web
    • None
    • Hide

      jsp with:
      <h:outputText value="
      ">

      Show
      jsp with: <h:outputText value=" ">
    • Release Notes
    • Hide
      Due to a regression, the compilation of some JPSs with JSF tags (for example <h:outputText value="\\">) failed with an exception similar to the following:

      Caused by: org.apache.jasper.JasperException: /pages/preferences.jsp
      According to TLD or attribute directive in tag file, attribute value does not accept any expressions

      This happened because of incorrect expression parsing. Now, the regression has been fixed and the problem no longer occurs.
      Show
      Due to a regression, the compilation of some JPSs with JSF tags (for example <h:outputText value="\\">) failed with an exception similar to the following: Caused by: org.apache.jasper.JasperException: /pages/preferences.jsp According to TLD or attribute directive in tag file, attribute value does not accept any expressions This happened because of incorrect expression parsing. Now, the regression has been fixed and the problem no longer occurs.
    • Documented as Resolved Issue
    • NEW

      One of these bug fixes introduced with JBoss EAP 5.1.2 introduced the regression described below: JBPAPP-6501 JBPAPP-6382

      Bug 48627 - JasperException with JSF tags and value expressions
      https://issues.apache.org/bugzilla/show_bug.cgi?id=48627

      Now some jsps with jsf tags are not compiling anymore.

      Following tag results in a JasperException in 6.0.24 but compiles fine with
      older versions:

      <h:outputText value="
      ">

      Stack:
      Caused by: org.apache.jasper.JasperException: /pages/preferences.jsp(147,100)
      According to TLD or attribute directive in tag file, attribute value does not
      accept any expressions
      at
      org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
      at
      org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
      ...

              rhatlapa@redhat.com Radim Hatlapatka (Inactive)
              rhn-support-bmaxwell Brad Maxwell
              Eva Kopalova Eva Kopalova (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: