Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@www.apache.org Received: (qmail 43748 invoked from network); 4 Feb 2004 10:15:06 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 4 Feb 2004 10:15:06 -0000 Received: (qmail 60529 invoked by uid 500); 4 Feb 2004 10:14:04 -0000 Delivered-To: apmail-jakarta-struts-user-archive@jakarta.apache.org Received: (qmail 60451 invoked by uid 500); 4 Feb 2004 10:14:03 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 60414 invoked from network); 4 Feb 2004 10:14:03 -0000 Received: from unknown (HELO mailscanner.docep.wa.gov.au) (203.33.230.131) by daedalus.apache.org with SMTP; 4 Feb 2004 10:14:03 -0000 Received: from 172.27.77.8 by mailscanner.docep.wa.gov.au (InterScan E-Mail VirusWall NT); Wed, 04 Feb 2004 18:07:54 +0800 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Logic Iterate - Cannot Create iterator for this collection Date: Wed, 4 Feb 2004 18:10:17 +0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Logic Iterate - Cannot Create iterator for this collection Thread-Index: AcPrBFn0IbWLolTaTI2ApY/EouuFCAAAq6tQ From: "Jacqueline Gomes" To: "Struts Users Mailing List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N RUN/servers/bnonline/bnonline.war 04/02 18:05:58 info [axis] getConnection() 04/02 18:05:58 info [axis] Check for timeout, activeCount=3D1, = useCount=3D1 04/02 18:05:58 info [axis] Found available connection 04/02 18:05:58 info [axis] Return allocated connection, = activeCount=3D1, useCou nt=3D2 04/02 18:05:58 user FileServlet: destroy 04/02 18:05:58 info 1 session(s) persisted 04/02 18:05:58 info Removing web application service from servlet engine = service : bnonline.war 04/02 18:05:59 info Deploying web application = "file:/C:/Tools/JRUN/servers/bnonl ine/bnonline.war" from: = file:/C:/Tools/JRUN/servers/bnonline/bnonline.war 04/02 18:05:59 user JSPServlet: init 04/02 18:05:59 user action: init 04/02 18:05:59 info [axis] Initializing, = config=3D'org.apache.struts.util.LocalStr ings', returnNull=3Dtrue04/02 18:05:59 error [axis] Parse Error at line = 215 column -1: Element "action" does not allow text. org.xml.sax.SAXParseExcept 04/02 18:05:59 info [axis] Initializing, = config=3D'org.apache.struts.action.Action Resources', returnNull=3Dtrue ion: Element "action" does not allow text. at org.apache.crimson.parser.Parser2.error(Parser2.java:3317) at = org.apache.crimson.parser.ValidatingParser$ChildrenValidator.text(Val idatingParser.java:355) at = org.apache.crimson.parser.InputEntity.parsedContent(InputEntity.java: 597) at org.apache.crimson.parser.Parser2.content(Parser2.java:1973) at = org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1654) at org.apache.crimson.parser.Parser2.content(Parser2.java:1926) at = org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1654) at org.apache.crimson.parser.Parser2.content(Parser2.java:1926) at = org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1654) at = org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:634) at org.apache.crimson.parser.Parser2.parse(Parser2.java:333) at = org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448) at = org.apache.commons.digester.Digester.parse(Digester.java:1548) at = org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe rvlet.java:1006) at = org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet .java:955) at = org.apache.struts.action.ActionServlet.init(ActionServlet.java:470) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at = jrun.servlet.WebApplicationService.loadServlet(WebApplicationService. java:1208) at = jrun.servlet.WebApplicationService.preloadServlets(WebApplicationServ ice.java:763) at = jrun.servlet.WebApplicationService.postStart(WebApplicationService.ja va:258) at = jrun.deployment.DeployerService.initModules(DeployerService.java:711) at = jrun.deployment.DeployerService.createWatchedDeployment(DeployerServi ce.java:242) at = jrun.deployment.DeployerService.deploy(DeployerService.java:430) Here's the stack trace. 04/02 18:09:09 info [axis] Initializing, = config=3D'org.apache.struts.taglib.logic. LocalStrings', returnNull=3Dtrue04/02 18:09:09 error Unhandled exception = thrown fr om /admin/adm_obtain_extract_results.jsp:81 [1]javax.servlet.jsp.JspException 04/02 18:09:09 info [axis] Initializing, = config=3D'org.apache.struts.taglib.bean.L ocalStrings', returnNull=3Dtrue : Cannot create iterator for this collection at = org.apache.struts.taglib.logic.IterateTag.doStartTag(IterateTag.java: 310) at = jrun__admin__adm_obtain_extract_results2ejsp25._jspService(jrun__admi n__adm_obtain_extract_results2ejsp25.java:478) at = jrun.jsp.runtime.HttpJSPServlet.service(HttpJSPServlet.java:43) at jrun.jsp.JSPServlet.service(JSPServlet.java:106) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at = jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at = jrun.servlet.JRunRequestDispatcher.invokeNext(JRunRequestDispatcher.j ava:414) at = jrun.servlet.JRunRequestDispatcher.forwardInvoke(JRunRequestDispatche r.java:387) at = jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java :172) at = org.apache.struts.action.RequestProcessor.doForward(RequestProcessor. java:1069) at = org.apache.struts.action.RequestProcessor.processForwardConfig(Reques tProcessor.java:455) at = org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja va:279) at = org.apache.struts.action.ActionServlet.process(ActionServlet.java:148 2) at = org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at = jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at = jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java: 241) at = jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java: 527) at = jrun.servlet.http.WebService.invokeRunnable(WebService.java:172) at = jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPoo l.java:348) at = jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.j ava:451) at = jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool. java:294) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) [0]jrun.jsp.runtime.UncaughtPageException: Unhandled exception thrown = from /admi n/adm_obtain_extract_results.jsp:81 at jrun.jsp.runtime.Utils.handleException(Utils.java:57) at = jrun.jsp.runtime.JRunPageContext.handlePageException(JRunPageContext. java:381) at = jrun__admin__adm_obtain_extract_results2ejsp25._jspService(jrun__admi n__adm_obtain_extract_results2ejsp25.java:540) at = jrun.jsp.runtime.HttpJSPServlet.service(HttpJSPServlet.java:43) at jrun.jsp.JSPServlet.service(JSPServlet.java:106) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at = jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at = jrun.servlet.JRunRequestDispatcher.invokeNext(JRunRequestDispatcher.j ava:414) at = jrun.servlet.JRunRequestDispatcher.forwardInvoke(JRunRequestDispatche r.java:387) at = jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java :172) at = org.apache.struts.action.RequestProcessor.doForward(RequestProcessor. java:1069) at = org.apache.struts.action.RequestProcessor.processForwardConfig(Reques tProcessor.java:455) at = org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja va:279) at = org.apache.struts.action.ActionServlet.process(ActionServlet.java:148 2) at = org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at = jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at = jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java: 241) at = jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java: 527) at = jrun.servlet.http.WebService.invokeRunnable(WebService.java:172) at = jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPoo l.java:348) at = jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.j ava:451) at = jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool. java:294) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) -----Original Message----- From: Michael McGrady [mailto:mike@michaelmcgrady.com] Sent: Wednesday, 4 February 2004 5:50 PM To: Struts Users Mailing List Subject: RE: Logic Iterate - Cannot Create iterator for this collection Could you please give more details? Show me the stack trace or whatever = you are seeing. At 01:44 AM 2/4/2004, you wrote: >I am still getting Cannot Create Iterator for this collection error. > >-----Original Message----- >From: Michael McGrady [mailto:mike@michaelmcgrady.com] >Sent: Wednesday, 4 February 2004 5:42 PM >To: Struts Users Mailing List >Subject: RE: Logic Iterate - Cannot Create iterator for this collection > > >What happens? > > >At 01:36 AM 2/4/2004, you wrote: > >I did put a bean:write in there and it still doesn't work. > > > >-----Original Message----- > >From: Michael McGrady [mailto:mike@michaelmcgrady.com] > >Sent: Wednesday, 4 February 2004 5:35 PM > >To: Struts Users Mailing List > >Subject: Re: Logic Iterate - Cannot Create iterator for this = collection > > > > > >I have not looked at this closely, but I notice there is no write in = the > >nested iterator. Can you say what happens with this when you run it? > > > >At 01:06 AM 2/4/2004, you wrote: > > >Hi All, > > > > > >I have a List collection (paymntTrnsctns) which contains an = adminReceipts > > >objects. One of the properties of adminReceipts is a list. So I = display > > >the normal string properties of the object, such as receiptNumber = and > > >transactionDate, but can't then get the list adminPaymentDetails = within > > >the adminReceipts object. > > > > > >I am trying to execute the following code: > > > > > > > > >
> > #FFFFFF; border: 1px; padding: 1px; margin: 0px auto";> > > > > > > > > > > > > > > > > > > > > bgcolor=3D""> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > property=3D"receiptNumber"/> > > > > > > > > property=3D"transactionDate"/> > > >
> > >
> > > > > > > > >
> > > > > >Can anyone please tell me what I'm doing wrong. > > > > > >Thanks, > > > > > >Jackie. > > > > > = >--------------------------------------------------------------------- > > >To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org > > >For additional commands, e-mail: = struts-user-help@jakarta.apache.org > > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org > >For additional commands, e-mail: struts-user-help@jakarta.apache.org > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org > >For additional commands, e-mail: struts-user-help@jakarta.apache.org > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: struts-user-help@jakarta.apache.org > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: struts-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org