📄 group.jsp
字号:
<%@ taglib prefix="mt" uri="/WEB-INF/software.xml" %>
<%@ page contentType="text/html; charset=GB2312" %>
<jsp:useBean id="info" scope="page" class="org.jetic.web.soft.Infomation" />
<jsp:useBean id="group" scope="page" class="org.jetic.web.soft.Group" />
<jsp:setProperty name="info" property="*" />
<% group.setID(info.getGroupID()); %>
<html>
<head>
<title>软件管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="hover.css" type="text/css">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>
<a href="./">软件管理</a> ->
<%= group.get("groupName") %>
</p>
<table border="0" cellspacing="1" cellpadding="2">
<tr>
<th>名称</th>
<th>说明</th>
<th colspan="2">操作</th>
</tr>
<mt:CategoryList groupID="<%= info.getGroupID() %>">
<tr>
<td><%= categoryName %></td>
<td><%= categoryDescription %></td>
<td><a href="category.jsp?categoryID=<%= categoryID %>">浏览</a></td>
<td><a href="delcategory.jsp?categoryID=<%= categoryID %>">删除</a></td>
</tr>
</mt:CategoryList>
</table>
<ul>
<li>添加软件分类
<form name="form1" method="post" action="newcategory.jsp">
<input type="hidden" name="groupID" value="<%= info.getGroupID() %>">
* 分类名称:
<input type="text" name="categoryName" size="25">
<br>
说明:
<textarea name="categoryDescription" cols="60" rows="5"></textarea>
<br>
<input type="submit" name="Submit" value=" 添 加 ">
</form>
</li>
<li>修改组属性
<form name="form2" method="post" action="modifygroup.jsp">
<input type="hidden" name="groupID" value="<%= group.getID() %>">
组名称:
<input type="text" name="groupName" size="25" value="<%= group.get("groupName") %>">
<br>
简介:
<textarea name="groupDescription" cols="60" rows="5"><%= group.get("groupDescription") %></textarea>
<br>
<input type="submit" name="Submit" value=" 修 改 ">
</form>
</li>
</ul>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -