⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 category.jsp

📁 jsp实现网络教育系统
💻 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:useBean id="category" scope="page" class="org.jetic.web.soft.Category" />
<jsp:setProperty name="info" property="*" />
<%
category.setID(info.getCategoryID());
group.setID(new Integer(category.get("groupID")).intValue());
%>
<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> -&gt;
  <a href="group.jsp?groupID=<%= group.getID() %>"><%= group.get("groupName") %></a> -&gt;
  <%= category.get("categoryName") %>
</p>
<table border="0" cellspacing="1" cellpadding="2">
  <tr> 
    <th>名称</th>
    <th>链接地址</th>
    <th colspan="2">操作</th>
  </tr>
  <mt:SoftList pagesize="100" categoryID="<%= info.getCategoryID() %>">
  <tr> 
    <td><%= softName %></td>
    <td><%= softLinkurl %></td>
    <td><a href="soft.jsp?softID=<%= softID %>">浏览</a></td>
    <td><a href="delsoft.jsp?softID=<%= softID %>">删除</a></td>
  </tr>
  </mt:SoftList>
</table>
<ul>
  <li>添加软件 
    <form name="form1" method="post" action="newsoft.jsp">
      <input type="hidden" name="groupID" value="<%= group.getID() %>">
      <input type="hidden" name="categoryID" value="<%= category.getID() %>">
      * 软件名称: 
      <input type="text" name="softName" size="25">
      <br>
      * 链接地址:
      <input type="text" name="softLinkurl" size="25">
      <br>
      文件大小:
      <input type="text" name="softFilesize" size="25">
      <br>
      系统/平台:
      <input type="text" name="softOstype" size="25">
      <br>
      说明: 
      <textarea name="softIntro" cols="60" rows="5"></textarea>
      <br>
      <input type="submit" name="Submit" value="  添    加  ">
    </form>
  </li>
  <li>修改分类属性
    <form name="form2" method="post" action="modifycategory.jsp">
      <input type="hidden" name="categoryID" value="<%= info.getCategoryID() %>">
      分类名称:
      <input type="text" name="categoryName" size="25" value="<%= category.get("categoryName") %>">
      <br>
      说明:
      <textarea name="categoryDescription" cols="60" rows="5"><%= category.get("categoryDescription") %></textarea>
      <br>
      <input type="submit" name="Submit2" value="  修    改  ">
    </form>
  </li>
</ul>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -