I got a similar error in an example complaining about the following attribute from the struts-form.tld for <tag> <name>image</name> <tagclass>org.apache.struts.taglib.html.ImageTag</tagclass> <attribute> <name>path</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>isKey</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> it complained about the setter for path and isKey and I looked at the class it did not have a setter. I removed these attribute from the tld file, the error was gone. I am using the 1.0.2 src. What am i missing?
<[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > I ran into the same problem, I would also like to get the answer to the > mystery. > Try removing the <attribute>title tag from the struts-html.tld file and run > the example again. it worked for me, for any attribute which it complained > like that I tried to remove it from the tld and tried running it , it > worked. When looking at the corresponding tag class, I could not find the > setter for the attribute it complained. > I think it requires to have the > getter and setter in the corresponding Tag.. > Hope that helps. > Thanks > RG > "Parmar, Deepak" <[EMAIL PROTECTED]> wrote in message > news:<[EMAIL PROTECTED]>... > > > > Hello, > > > > I'm getting following error while running struts example: > > /index.jsp(3): Error in using tag library uri='/WEB-INF/struts-html.tld' > > prefix='html': The Tag class 'org.apache.struts.taglib.html.FormTag' has > no > > setter method corresponding to TLD declared attribute 'title', (JSP 1.1 > > spec, 5.4.1) > > probably occurred due to an error in /index.jsp line 3: > > <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> > > > > Deepak > > >