columnModify.jsp
上传用户:junmaots
上传日期:2022-07-09
资源大小:2450k
文件大小:1k
- <%@page contentType="text/html; charset=GBK" language="java" %>
- <%
- String columnid=request.getParameter("columnid");
- com.mycompany.news.service.ColumnService cs = new com.mycompany.news.service.ColumnService();
- com.mycompany.news.dto.Column column = cs.getByID(Integer.parseInt(columnid));
- %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gbk">
- <title>修改栏目</title>
- </head>
-
- <body>
- <br>
- <br>
- <br>
- <br>
- <br>
- <form name="form1" action="<%=request.getContextPath()%>/servlet/ModifyChannel" method="post">
- <input type="hidden" name="columnid" value="<%=columnid%>">
- <table align="center" border=0>
- <tr>
- <td>栏目名称</td>
- <td><input name="columnName" value="<%=column.getColumnName() %>"></td>
- </tr>
- <tr>
- <td>栏目顺序</td>
- <td><input name="columnOrder" value="<%=column.getColumnOrder() %>"/></td>
- </tr>
- <tr>
- <td colspan=2 align='center'><input type='submit' value='提交'></td>
-
- </tr>
- </table>
- </form>
-
- </body>
- </html>