Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
vijay kumarg
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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"/>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic