I though that a String[] is expected, so you probably should specify the
attribute "type" in your "nested:iterate" tag, that match your Object Class

-----Message d'origine-----
De : Sri Sankaran [mailto:[EMAIL PROTECTED]]
Envoye : mardi 13 aout 2002 14:10
A : Struts Users Mailing List
Objet : RE: No getter error


Yes, 'tis public and returns an Object[].

SS

-----Original Message-----
From: honsali ilia [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 10:07 AM
To: Struts Users Mailing List
Subject: RE: No getter error


Are you sure that you have the getItemsArray() method in your
com.sas.mis.qs.struts.bean.CartBean class??



-----Message d'origine-----
De : Sri Sankaran [mailto:[EMAIL PROTECTED]]
Envoye : mardi 13 aout 2002 13:45
A : Struts-User
Objet : No getter error


Using Struts 1.0.2 on Tomcat 4.0.2

I am blue in the face having stared at this error for the last several hours
and can't figure out what is wrong.

The problem:  When attempting to display a page I receive the error "No
getter method for property itemsArray of bean cart" Page snippet: <html:form
action="cart.do">
  <nested:iterate property="itemsArray">
    ....
  </nested:iterate>
</html:form>

My struts-config has:
<form-bean name="cart" type="com.sas.mis.qs.struts.bean.CartBean"/>
<action path="/cart"
      name="cart" validate="true"
      type="com.sas.mis.qs.struts.action.CartAction"
      scope="session"
      input="Cart">
<forward name="next" path="Disclaimer"/>
</action>

What am I doing wrong.  The same pattern works flawlessly on other pages.
TIA Sri


--
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]>

Reply via email to