Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@jakarta.apache.org Received: (qmail 65999 invoked by uid 500); 25 Aug 2001 14:36:00 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: struts-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 65992 invoked from network); 25 Aug 2001 14:36:00 -0000 Received: from femail36.sdc1.sfba.home.com (24.254.60.26) by h31.sny.collab.net with SMTP; 25 Aug 2001 14:36:00 -0000 Received: from C365315A ([24.8.124.129]) by femail36.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with SMTP id <20010825143557.XFIE29231.femail36.sdc1.sfba.home.com@C365315A> for ; Sat, 25 Aug 2001 07:35:57 -0700 Message-ID: <011b01c12d73$6995d2c0$817c0818@mntp1.il.home.com> From: "Sean" To: References: <001401c12ca0$5e56a250$8320010a@adtest.chil1.parlano.com> Subject: Re: Digester Help PLEASE Date: Sat, 25 Aug 2001 09:37:02 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Does anyone have any other insight as to why this is happening? I still can't get this ... and it is starting to drive me crazy. Sean ----- Original Message ----- From: "Sean" To: "Struts Users" Sent: Friday, August 24, 2001 8:26 AM Subject: Digester Help PLEASE > Ok, after spending over 2 hours trying to debug this can I get some eyes on > this please? Does anyone see anything wrong with this method ran against > the attached datafile: > > protected void initMappings(InputStream input) { > > Digester digester = new Digester(); > digester.setDebug(1); > digester.setValidating(false); > digester.push(this); > > digester.addObjectCreate("factory-selector/factory", > "com.company.Factory"); > digester.addSetProperties("factory-selector/factory"); > digester.addSetNext("factory-selector/factory", "addFactory", > "com.company.Factory"); > > digester.addObjectCreate("*/patternset", "com.company.PatternSet"); > digester.addSetProperties("*/patternset"); > digester.addSetNext("*/patternset", "addPatternSet", > "com.parlano.web.struts.mapping.PatternSet"); > > digester.addCallMethod("*/pattern", "addPattern", 0); > > try { > digester.parse(input); > } > catch (Exception e) { > System.out.println("DAMN ERRORS"); > e.printStackTrace(); > } > } > > PLEASE, any help would be greatly appreciated ... I can't figure out why > NONE of my objects are getting created nor are they getting populated. No > methods are getting called ...I get no exceptions no nothing ... I put print > statements around things and it is getting through all of this. I also > tried breaking the XML in the datafile and it breaks and errors out so I > know it is parsing the file. ANY help would be appreciated, Thanks ... > > Sean >