channelModify.jsp
上传用户:junmaots
上传日期:2022-07-09
资源大小:2450k
文件大小:1k
- <%@page contentType="text/html; charset=GBK" language="java" %>
- <%
- String channelid=request.getParameter("channelid");
- com.mycompany.news.service.ChannelService cs = new com.mycompany.news.service.ChannelService();
- com.mycompany.news.dto.Channel channel = cs.getByID(Integer.parseInt(channelid));
- %>
- <!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="channelid" value="<%=channelid%>">
- <table align="center" border=0>
- <tr>
- <td>频道名称</td>
- <td><input name="channelName" value="<%=channel.getChannelName() %>"></td>
- </tr>
- <tr>
- <td>频道顺序</td>
- <td><input name="channelOrder" value="<%=channel.getChannelOrder() %>"/></td>
- </tr>
- <tr>
- <td colspan=2 align='center'><input type='submit' value='提交'></td>
-
- </tr>
- </table>
- </form>
-
- </body>
- </html>