我正在使用显示标签来显示表格中的数据列表,它工作正常,但现在,我想添加另外三个功能(添加、编辑和删除),类似于http://raibledesigns.com/display-edit/此表上的index.jsp请检查下面的代码并建议我需要做哪些修改
<%
List listOfOffice = (List) request.getAttribute("listOfOffice");
if(listOfOffice != null)
{
session.setAttribute("listOfOffice ", listOfOffice );
}
%>
/*
some code here
*/
<%
if(session.getAttribute("listOfOffice ") != null)
{
%>
<table align="center" width="600" border="1" cellpadding="1" cellspacing="1">
<tr>
<td valign="top" class="border" height="200">
<display:table id="tableId" name="sessionScope.listOfROOffice" cellspacing="2" cellpadding="1" pagesize="5" requestURI="addnewrooffice.do" export="false">
<display:column title="Sr. No." style="width:5%">
<c:out value="${tableId_rowNum}"/>
</display:column>
<display:column property="roOfficeId" title="RO Office Id" style="width:5%"/>
<display:column property="roOfficeName" title="RO Office Name" style="width:15%"/>
</display:table>
</td>
</tr>
</table>
<%
}
%>