?? 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 + -