About us
Contact us
Products
Services
Articles
 Twitter    Bookmark and Share

XML Processing JSP Actions - Deployment

JSP Tag Library for Fast and Easy XML Parsing

To use the actions from this library in your JSP pages, copy xmltaglib.jar, saxdomix.jar and dslogging.jar to the /WEB-INF/lib subdirectory of your web application. Then add the following directive at the top of each JSP. You can change the "p" prefix if it conflicts with the prefix of another tag library.

    <%@ taglib prefix="p" uri="http://devsphere.com/xml/taglib/process" %>

The tag library descriptor (TLD) is contained by the xmltaglib.jar file and the application server looks for it using the same mechanism that loads the classes. If you think there might be multiple files called ProcessXML.tld in your CLASSPATH, copy this TLD file to the /WEB-INF subdirectory of your web application. Then add a <taglib> element to your web application deployment descriptor in /WEB-INF/web.xml like this:

    <taglib>
        <taglib-uri>http://devsphere.com/xml/taglib/process</taglib-uri>
        <taglib-location>/WEB-INF/ProcessXML.tld</taglib-location>
    </taglib>

Note: Currently, XJTL supports JSP 1.2 and uses Apache JSTL 1.0 to evaluate the ${...} expressions. Therefore, you have to deploy XJTL together with JSTL. The next version of XJTL will be based only on JSP 2.0.


Copyright © 2000-2009 Devsphere

About us
Contact us
Products
Services
Articles