SRC FRG - 2004-11-20

Hi,
I am trying to use DisplayTag for the first time and deploying in iPlanet 6.0. below are my VO and


public class InvoiceItems implements Serializable {

private String name;
private int recordId;
private BigDecimal amount;

public InvoiceItems(String name, int recordId, BigDecimal amount) {
    this.name = name;
    this.recordId = recordId;
    this.amount = amount;
}

public InvoiceItems() {
}

public String getName() {
    return name;
}

public void setName(String name) {
    this.name = name;
}

public int getRecordId() {
    return recordId;
}

public void setRecordId(int recordId) {
    this.recordId = recordId;
}

public BigDecimal getAmount() {
    return amount;
}

public void setAmount(BigDecimal amount) {
    this.amount = amount;
}

}

and in JSP
<%
//Create here some value ObjectsdiplayTag
List vo = new ArrayList();
vo.add(new InvoiceItems ("Items1",1,new BigDecimal(100.00));
vo.add(new InvoiceItems ("Items2",2,new BigDecimal(200.00));
vo.add(new InvoiceItems ("Items3",3,new BigDecimal(300.00));

request.setAttribute(&quot;test&quot;,vo);

%>

<display:table name="test">
<display:column property="name" />
<display:column property="recordId" />
<display:column property="amount" />
</display:table>


when I run this in iplanet I get error saying
org.apache.jasper.compiler.CompileException: Unable to convert a String to java.lang.Object for attribute name

where I am going wrong here?
Please help.

Regards
JH