File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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

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

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

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"/>
I agree. Here's the link:
subject: xslt error: "/WEB-INF/taglibs-xsl.tld" not found
It's not a secret anymore!