I got a List of type string with values say for example
List str = {"start", "hi", "h开发者_开发问答ello", "start", "hello", "hi"} If value is start i want to print the next iterator value.You can obtain the current value's index from the status object:
<s:iterator value="str" status="stat">
<p>After <s:property/> comes <s:property value="str[#stat.index+1]"/>
</s:iterator>
精彩评论