Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-482

Need shared TLD's for JSTL and JSF

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Critical
    • 7.0.0.Beta2
    • 7.0.0.Alpha1
    • JSF, Web
    • None

    Description

      JSTL applications and JSP-based JSF applications will fail because the TLD's are not processed for WARs that need them. We need a shared TLD facility similar to previous AS versions so that these tag libs are parsed only once and then shared with every WAR.

      I'm attaching a simple WAR to smoke-test JSTL and JSP-based JSF. With the attached WAR, The following URLs will yield the following errors:

      http://localhost:8080/jsfwithjsp/hellojsf.faces
      org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsf/html cannot be resolved in either web.xml or the jar files deployed with this application
      org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
      org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
      org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
      org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:239)

      http://localhost:8080/jsfwithjsp/hellojstl.jsp
      org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
      org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
      org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
      org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
      org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:239)

      Attachments

        Activity

          People

            rmaucher Remy Maucherat
            ssilvert@redhat.com Stan Silvert
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: