You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Bader Almahayni <Ba...@kyran.com> on 2002/02/13 22:40:56 UTC
problem with struts-form.tld
Hi,
I have problem with Form tag lib where as soon as I try to import it I will get the following Error-Msg:
[[[ Error parsing TLD '/WEB-INF/struts-form.tld': The tag handler 'org.apache.struts.taglib.html.ImageTag' does not have a setter for the attribute 'path' specified in the tld..
allaire.jrun.jsp.NoSuchAttributeException: The tag handler 'org.apache.struts.taglib.html.ImageTag' does not have a setter for the attribute 'path' specified in the tld.
at allaire.jrun.jsp.JRunTagLibraryInfo.getPropertyType(../jsp/JRunTagLibraryInfo.java:732)
at allaire.jrun.jsp.JRunTagLibraryInfo.buildAttributeInfo(../jsp/JRunTagLibraryInfo.java:705)
at allaire.jrun.jsp.JRunTagLibraryInfo.buildTagInfo(../jsp/JRunTagLibraryInfo.java:683)
at allaire.jrun.jsp.JRunTagLibraryInfo.initialize(../jsp/JRunTagLibraryInfo.java:627)
at allaire.jrun.jsp.JRunTagLibraryInfo.<init>(../jsp/JRunTagLibraryInfo.java:199)
at allaire.jrun.jsp.JRunTagLibraryInfo.lookupTLI(../jsp/JRunTagLibraryInfo.java:109)
at allaire.jrun.jsp.JSPParser.taglibDirective(../jsp/JSPParser.java:842)
at allaire.jrun.jsp.JSPParser.directive(../jsp/JSPParser.java:973)
at allaire.jrun.jsp.JSPParser.parse(../jsp/JSPParser.java:921) ]]]
I'm reference it in my .JSP file as:
<%@ taglib uri="/WEB-INF/struts-form.tld" prefix="form" %>
and, in my Web.XML:
<taglib>
<taglib-uri>/WEB-INF/struts-form.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-form.tld</taglib-location>
</taglib>
I'm using "jakarta-struts-1.0.1".
Thanks for your help,
-Bader Almahanyi
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>