<
logic:iterate
id
="chList"
name
="channelList"
scope
="request"
indexId
="index"
>
<
bean:write
name
="index"
/><
br
>
</
logic:iterate
>
上面的是书上的例子为什么不可以而下面的可以呢?
<
logic:iterate
id
="chList"
name
="channelList"
scope
="request"
indexId
="index"
>
<%
=
index
+
1
%>
<
br
>
</
logic:iterate
>

index 是从0开始的,所以.............