JAKARTA-TAGLIBS instructions
These days to use XSL format XML problems, in the online visit, finally get a solution, although they have worked hard, it is a little small, I hope to share with you, my QQ: 25797772
effect
This tag library can directly display XML data formatted by XSL files in the JSP page, so that the generation (XML), formatting (XSL), and display (JSP) are completely separated. Such pages can be displayed in flexible organization data, reaching the data, but also have JSP original advantages, such as flexible parameter delivery.
Instructions for use
The label library consists of taglibs-xsl.tld, taglibs-xsl.jar, and also needs to be added to Web.xml:
taglib>
When using, first add <% @ taglib uri = "xsltaglibs" prefix = "xsl"%> to introduce the label library in the appropriate position of the JSP page, join the XML
Description
This label library is an open source project for Apache, using Xalan1.jar and Xerces1.jar package, running in JDK1.3x, but does not work normally at 1.4 or higher, you need to modify the Sun's "Endorsed Standard" standard. The specific approach is to create a new endorsed directory under java_home / jre / lib and copy the Xalan1.jar and Xerces1.jar, so that the system automatically overrides the JDK comes with the high version package.
Doing so shortcomings:
1. You cannot run in some UNIX. Endorsed Standard is the standard of Sun, and some system support is not good.
2. Limit the performance of the system and can only run the low version of Xalan and Xerces.
3. Maintenance is inconvenient.
Due to the above reasons, I made a modification of the original label and realized the same function with the new version of technology.
Due to time rush, only a label of "Apply" is modified, so you can only use
related resources
1. http://java.sun.com/j2se/1.4.2/docs/guide/standards/ -------- Sun's Endorsed Standard Standard
2. http://www.w3.org/tr/xslt XSL Transformations (XSLT) Version 1.0 XSL standard, good stuff, huh, huh.
3. http://jakarta.apache.org/taglibs/doc/xsl-doc/intro.html You can load the source file of Jakarta-Taglibs-1.01