[jboss-jira] [JBoss JIRA] Commented: (JBAS-8916) Need shared TLD's for JSTL and JSF

Remy Maucherat (JIRA) jira-events at lists.jboss.org
Thu Mar 17 13:35:45 EDT 2011


    [ https://issues.jboss.org/browse/JBAS-8916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588680#comment-12588680 ] 

Remy Maucherat commented on JBAS-8916:
--------------------------------------

Ok, so I got permission to hardcode certain things, which will mean supporting shared JSTL and JSF.

> Need shared TLD's for JSTL and JSF
> ----------------------------------
>
>                 Key: JBAS-8916
>                 URL: https://issues.jboss.org/browse/JBAS-8916
>             Project: JBoss Application Server
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: JSF, Web (Tomcat) service
>    Affects Versions: 7.0.0.Alpha1
>            Reporter: Stan Silvert
>            Assignee: Remy Maucherat
>            Priority: Critical
>             Fix For: 7.0.0.Beta2
>
>         Attachments: jsfwithjsp.war
>
>
> 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)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list