I do not understand why I am getting this error message.
The line in the JSP is:
<census:subdivq lang="EN" maxRows="999">
The definition of the tag in the TLD is:
<tag>
<name>subdivq</name>
<tagclass>Census.tags.QuerySubDivTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>Performs a query of the census subdivision table based upon the
parameters supplied in the request URL</info>
<attribute>
<!-- this attribute indicates the language to be used for text
displayed to the user -->
<name>lang</name>
<required>false</required>
</attribute>
<attribute>
<!-- this attribute indicates the maximum number of rows to display -->
<name>maxRows</name>
<required>false</required>
</attribute>
</tag>
The class definition is:
public class QuerySubDivTag extends QueryTag
{
public void setLang(String lang)
{
super.setLang(lang);
}
public void setMaxRows(String repeats)
{
super.setMaxRows(repeats);
}
Tomcat 4.1.12 recognizes that the setLang method is present (although I had to put in
that pointless redirection to super to get it to do that) but not the presence of the
setMaxRows method.
The definition of the methods in the base class is:
public void setLang(String lang)
{
if ((lang != null) && lang.equalsIgnoreCase("FR"))
Language = FRENCH;
else
Language = ENGLISH;
} // LangTag.setLang
public void setMaxRows(String repeats)
{
try
{
maxRows = Integer.parseInt(repeats);
}
catch(NumberFormatException nfe)
{
maxRows = 50;
}
} // QueryTag.setMaxRows
Jim Cobban [EMAIL PROTECTED]
34 Palomino Dr.
Kanata, ON, CANADA
K2M 1M1
+1-613-592-9438