Hi,
I’m using eclipse M.04 and MyEclipse 3.6.4. (I had similar problem with 3.6.3 earlier)
I get error: unknown user tag <xsl:… add <%@ taglib prefix=”xsl” …>
for the following jsp page:
<%@ taglib uri=”/WEB-INF/struts-html-el.tld” prefix=”html” %>
<%@ taglib uri=”http://java.sun.com/jstl/core” prefix=”c” %>
<%@ taglib uri=”/WEB-INF/x.tld” prefix=”x” %>
<html:errors />
<c:set var=”xml”>
<paragraph>
This is using <bold>unusual</bold> markup.
</paragraph>
</c:set>
<c:set var=”xsl”>
<?xml version=”1.0″?>
<xsl:stylesheet xmlns:xsl=”http://www.w3.org/1999/XSL/Transform” version=”1.0″>
<xsl:template match=”bold”>
<b><xsl:value-of select=”.”/></b>
</xsl:template>
</xsl:stylesheet>
</c:set>
<x:transform xml=”${xml}” xslt=”${xsl}”/>
I’d tried both ways (http vs WEB-INF) of coding the uri above, but with the same results. However, the page works when running under Tomcat 5.0.
Any idea? Thanks.