Make sure your clsoing tag is right. I had the similar error message when I had an incorrect closing </html:form> tag.
Hope this helps! Billy Ng ----- Original Message ----- From: "Anoop" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Monday, October 07, 2002 12:55 AM Subject: RE: Cannot find bean error > I checked these out, and seems correct. Are there anything specific issues > which have to be looked into. > > Anoop. > > -----Original Message----- > From: deepank [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 07, 2002 1:12 PM > To: Struts Users Mailing List; [EMAIL PROTECTED] > Subject: Re: Cannot find bean error > > > Hi, > I am not sure about this, but i have had this problem. Make sure your bean > follows the specifications of a Bean. > All properties have getter/setter methods. Sometimes Struts(or reflection i > should say) will not recognize your class as bean because if this. > Also double check if your storing it in some scope in your Action class. > > Deepank > > > ----- Original Message ----- > From: "Anoop" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, October 07, 2002 12:30 PM > Subject: Cannot find bean error > > > > Hi, > > > > I am trying to loop through an ArrayList returnd by a bean inside > > <logic:iterator> > > > > Name in the Iterator tag specifies a bean set in request scope in my > > ActionBean, getter on which will return an ArrayList. I am trying to read > > the bean returned by the ArrayList inside the Iterator tag. There is an > > exception thrown: > > > > javax.servlet.ServletException: Cannot find bean EMTTaskDetail in scope > > null > > > > I tried specifying all the possible scopes, session and request but it > still > > throw this exception > > > > The scriptlet looks something like this: > > > > <logic:iterate id="EMTTaskDetail" name="timesheetDetails" > > property="taskDetails"> > > > > <tr class="welcometxt"> > > > > <td bgcolor="#f0f0f0"><p><bean:write name="EMTTaskDetail" > > property="taskName"/></p></td> ........... > > > > getTaskDetails() on the bean set in the request scope with key > > "timesheetDetails" returns an ArrayList of EMTTaskDetail objects. > > > > Thanks for your help. > > > > Thanks & Regards, > > Anoop. > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

