It's not a secret anymore!*
The moose likes XML and Related Technologies and the fly likes xslt error: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "xslt error: "/WEB-INF/taglibs-xsl.tld" not found" Watch "xslt error: "/WEB-INF/taglibs-xsl.tld" not found" New topic
Author

xslt error: "/WEB-INF/taglibs-xsl.tld" not found

vijay kumarg
Ranch Hand

Joined: Dec 14, 2006
Posts: 105
Hello All,

I am working on a java xml sample app.I have included taglibs-xsl.jar in lib and taglibs-xsl.tld under context but the following errors occurs when i request a jsp which uses xslt tag

org.apache.jasper.JasperException: File "/WEB-INF/taglibs-xsl.tld" not found

Is there any version incompatibility.Because I have this sample from the site
http://www.webreference.com/xml/column37/2.html

It says we need to include xsl.jar in lib and xsl.tld under context different to what i downloaded from apache taglibs i.e. taglibs-xsl.jar and taglibs-xsl.tld

Thanks,
vijay kumarg
Ranch Hand

Joined: Dec 14, 2006
Posts: 105
I corrected it by referring xsl-examples.war shipped with the taglibs download.
So we need to replace

<xsl:InsertWithXSL url="/xml/data.xml" xsl="/xml/style.xsl"/>

by the new syntax

<xsl:apply xml="/xml/data.xml" xsl="/xml/style.xsl"/>
 
jQuery in Action, 2nd edition
 
subject: xslt error: "/WEB-INF/taglibs-xsl.tld" not found