如
<% int count=0; int index=0;%>
<bean:define id="tempcount" name="menu" property="others" type="java.lang.Integer"/>
<% if(index>=(count-1))
{
count=tempcount;
}
%>
不正确,如何实现,帮我写一下,或修改一下
<% int count=0; int index=0;%>
<bean:define id="tempcount" name="menu" property="others" type="java.lang.Integer"/>
<% if(index>=(count-1))
{
count=tempcount;
}
%>
不正确,如何实现,帮我写一下,或修改一下
<logic:iterate scope="session" name="report_data" property="datas" id="menu" indexId="id">
<bean:define id="tempcount" name="menu" property="others" type="java.lang.Integer"/>
<% if(index>=(count-1))
// count=tempcount;
{System.out.println("===" + menu.getOthers());
//count=new int(tempcount.getNumber());
//count=new int(tempcount.getNumber());
%>
Integer跟int互相操作要转换的
tempcount.intValue()
menu.getXXX()