打开jsp页面时,显示空白页。
#foreach($e in $listPlanItem)
#set($listPlanDetail=$!e.get(2))
<tr class="trDetail">
<td><input type="checkbox" name="rowIndex" value="$!lineNum"><input type="hidden" name="lineItemId" value="$!e.get(0)"></td>
<td>$!velocityCount</td>
<td><textarea name="lineContent" rows="4" style="width:100%" type="_moz">$!e.get(1)</textarea></td>
#foreach($d in $listPlanDetail)
#if($!velocityCount==1)
<td>$!d.get(2)<input type="hidden" name="lineContent" value="$!d.get(2)"></td>
<td><textarea name="lineTarget" rows="4" style="width:100%" type="_moz"></textarea></td>
<td>
<input name="lineBeginTime" type="text" value="$!d.get(3)" size="10" readonly="" title="开始日期,双击清空" class="inputDisable" onDblClick="javascript:this.value='';"><input name="btnBeginTime" type="button" class="btnCalendar" onClick="javascript:openSelectDate(1,'$!lineNum');" value=""><br>
<input name="lineEndTime" type="text" value="$!d.get(4)" size="10" readonly="" title="结束日期,双击清空" class="inputDisable" onDblClick="javascript:this.value='';"><input name="btnEndTime" type="button" class="btnCalendar" onClick="javascript:openSelectDate(2,'$!lineNum');" value="">
</td>
<td>
<textarea name="lineOrganName" rows="4" class="inputDisable" readonly="true" title="双击清空" style="width:90" onDblClick="javascript:this.value='';index=getRowIndex($!d.get(0));lineOrganId[index].value='';" type="_moz">$!d.get(6)</textarea><input name="btnSelectOrgan" type="button" class="btnBack" onClick="javascript:selectOrgan('$!lineNum');" value="...">
<input type="hidden" name="lineOrganId" value="$!d.get(5)">
</td>
#end
#end
</tr>
#end ##foreach($e in $listPlanItem)
红色标注的参数,超出了索引。