Is this possible. I keep getting a SAXException null in my servlet.log Tomcat 3.2.3 files:
I have an xml file similar to the following ================================================================ <elementa> <elementb>avalue</elementb> </elementa> ================================================================ Can I set up the following rules with the digester to process this file ================================================================ // this code is contained in a servlet that is called on app startup Vector v; // code is in init method of servlet - start Digester di = new Digester(); di.push(this); // push servlet on to stack di.setValidating(false); //create vector object when elementa/elementb parsed di.addObjectCreate("elementa/elementb","java.util.Vector"); // call vector add method with elementb body as value di.addCallMethod("elementa/elementb","add",0); // pass the vector object to the servlet instance method setAValue di.addSetNext("elementa/elementb","setAValue","java.util.Vector"); //open input to parse InputStream input = getServletContext().getResourceAsStream(value); //parse di.parse(input); //close stream input.close(); // code is in init method of servlet - stop public void setAValue(Vector v){ this.v = v; } ================================================================ Thanks, Brandon Goodin Phase Web and Multimedia P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>