I got the following error message when I run
jsp file in jakarta-tomcat.
Incompatible type for method. Can't convert SearchXML to org.xml.sax.HandlerBase. parser.parse(file, search);
SearchXML is
java file which inherita DefaultHandler.
following is my code.
SAXParserFactory factory=SAXParserFactory.newInstance();
SAXParser parser=factory.newSAXParser();
SearchXML search=new SearchXML();
File file=new File("Catolog.xml");
FileReader reader=new FileReader(file);
parser.parse(file, search);
But, when I wrote the same code in application, it worked fine. I realy can't understand.