Jstl problem can not be used under JBOSS6 __js

Source: Internet
Author: User

Unzip the downloaded Jakarta-taglibs-standard-1.1.2.zip, copy all the TLD files under the TLD folder below to the Web-inf/tld directory, specify them yourself, and then add the configuration to the Web.xml:

        <jsp-config> <taglib> <taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri> <taglib-location>/WEB-INF/tld/fmt.tld</taglib-location> </taglib> <taglib> <tagli B-uri>http://java.sun.com/jstl/fmt-rt</taglib-uri> <taglib-location>/web-inf/tld/fmt-1_0-rt.tld </taglib-location> </taglib> <taglib> <taglib-uri>http://java.sun.com/jstl/core</ taglib-uri> <taglib-location>/WEB-INF/tld/c.tld</taglib-location> </taglib> <taglib&
		    Gt <taglib-uri>http://java.sun.com/jstl/core-rt</taglib-uri> &LT;TAGLIB-LOCATION&GT;/WEB-INF/TLD/C-1_0 -rt.tld</taglib-location> </taglib> <taglib> <taglib-uri>http://java.sun.com/jstl/sq L</taglib-uri> <taglib-location>/WEB-INF/tld/sql.tld</taglib-location> </taglib> ;taglib> <tagLib-uri>http://java.sun.com/jstl/sql-rt</taglib-uri> <taglib-location>/web-inf/tld/sql-1_0- rt.tld</taglib-location> </taglib> <taglib> &LT;TAGLIB-URI&GT;HTTP://JAVA.SUN.COM/JSTL/X&L t;/taglib-uri> <taglib-location>/WEB-INF/tld/x.tld</taglib-location> </taglib> <tagl Ib> <taglib-uri>http://java.sun.com/jstl/x-rt</taglib-uri> <taglib-location>/web-inf/tld/ X-1_0-rt.tld</taglib-location> </taglib> </jsp-config>
Note: Because the El and JBoss El cannot be shared under Tomcat, the El jar package needs to be under JBoss, otherwise there may be an error.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.