I am a little confused on how to use arrays within an Form object.
If I access the form object like <html:text property="myArray[0]"/> if the
object is null the page doesn't display correctly? Am I access the property
incorrectly? Or do I need to change the getter method? Currently the getter
methods for the arrays just return the arrays themselfs
ie
public String[] getMyArray(){
return myArray;
}
> If I access the form object like <html:text property="myArray[0]"/> if the
> object is null the page doesn't display correctly? Am I access the
[quoted text clipped - 4 lines]
> return myArray;
> }
See if this helps:
http://struts.apache.org/faqs/indexedprops.html
Since you said you have a problem when the array is null, try making sure
that doesn't happen. Maybe
String[] myArray = new String[0];
if you don't have that in the form bean already.
If you're still stuck, post the exact error message you're getting so we
don't have to guess.

Signature
Wendy