Consider creating a more descriptive subject line.

--- Adrian Marrero <[EMAIL PROTECTED]> wrote:
> struts-config.xml
> <form-property name="selectedAttributes"
> type="java.lang.String" />

I thought you wanted an array?

> CustomData cd = (CustomData)form;
> String [] attr = cd.getSelectedAttributes();
> out.println("Selected attributes size: " +
> attr.length);
> out.println("Selected attributes data: " + attr[0]);
> ----------------------------------------------
> 
> output
> ----------------------------------------------
> Selected attributes size: 1
> Selected attributes data:
> [Ljava.lang.String;@18170f98

Ljava.langString *is* an array of String.

d.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to