📄 soft.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:useBean id="soft" scope="page" class="org.jetic.web.soft.Soft" />
<jsp:setProperty name="info" property="*" />
<%
soft.setID(info.getSoftID());
category.setID(new Integer(soft.get("categoryID")).intValue());
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> ->
<a href="group.jsp?groupID=<%= group.getID() %>"><%= group.get("groupName") %></a> ->
<a href="category.jsp?categoryID=<%= category.getID() %>"><%= category.get("categoryName") %></a> ->
<%= soft.get("softName") %>
</p>
<table border="0" cellspacing="1" cellpadding="2">
<tr>
<th width="60">字段</th>
<th>值</th>
</tr>
<tr>
<td>名称</td>
<td><%= soft.get("softName") %></td>
</tr>
<tr>
<td>链接地址</td>
<td><%= soft.get("softLinkurl") %></td>
</tr>
<tr>
<td>文件大小</td>
<td><%= soft.get("softFilesize") %></td>
</tr>
<tr>
<td>系统平台</td>
<td><%= soft.get("softOstype") %></td>
</tr>
<tr>
<td>点击数</td>
<td><%= soft.get("softClick") %></td>
</tr>
<tr>
<td>添加时间</td>
<td><%= soft.get("softTime") %></td>
</tr>
<tr>
<td>说明</td>
<td><%= soft.get("softIntro") %></td>
</tr>
</table>
<ul>
<li>修改软件属性
<form name="form1" method="post" action="modifysoft.jsp">
<input type="hidden" name="softID" value="<%= soft.getID() %>">
* 软件名称:
<input type="text" name="textfield" size="25" value="<%= soft.getInput("softName") %>">
<br>
* 链接地址:
<input type="text" name="textfield3" size="25" value="<%= soft.getInput("softLinkurl") %>">
<br>
文件大小:
<input type="text" name="textfield4" size="25" value="<%= soft.get("softFilesize") %>">
<br>
系统/平台:
<input type="text" name="textfield5" size="25" value="<%= soft.getInput("softOstype") %>">
<br>
说明:
<textarea name="textfield2" cols="60" rows="5"><%= soft.getInput("softIntro") %></textarea>
<br>
<input type="submit" name="Submit" value=" 修 改 ">
</form>
</li>
</ul>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -