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));
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 {
}
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));
%>
<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