?? category.jsp
字號(hào):
<%@ taglib prefix="mt" uri="/WEB-INF/technologic.tld" %>
<%@ page contentType="text/html; charset=gb2312" %>
<jsp:useBean id="category" scope="page" class="org.jetic.web.technologic.Category" />
<jsp:setProperty name="category" property="*" />
<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> ->
<%= category.getCategoryName() %>
<p/>
<table border="0" cellspacing="1" cellpadding="2">
<tr>
<th>題目</th>
<th>作者</th>
<th>來(lái)自</th>
<th colspan="2">執(zhí)行操作</th>
</tr>
<mt:ArticleList categoryID="<%= category.getCategoryID() %>">
<tr>
<td><%= articleTitle %></td>
<td><%= articleAuthor %></td>
<td><%= articleFrom %></td>
<td><a href="article.jsp?articleID=<%= articleID %>">瀏覽</a></td>
<td><a href="deletearticle.jsp?articleID=<%= articleID %>">刪除</a></td>
</tr>
</mt:ArticleList>
</table>
<ul>
<li>添加文章:
<form name="form1" method="post" action="newarticle.jsp">
<input type="hidden" name="categoryID" value="<%= category.getCategoryID() %>">
題目:
<input type="text" name="articleTitle" size="50">
<br>
作者:
<input type="text" name="articleAuthor" size="20">
<br>
來(lái)自:
<input type="text" name="articleFrom" size="25">
<br>
HTML:
<input type="radio" name="articleUseHtml" value="1">使用
<input type="radio" name="articleUseHtml" value="0" checked>不使用
<br>
內(nèi)容:
<textarea name="articleContent" cols="60" rows="5"></textarea>
<br>
<input type="submit" value=" 添 加 ">
</form>
</li>
<li>修改分類(lèi)屬性:
<form name="form2" method="post" action="modifycategory.jsp">
<input type="hidden" name="categoryID" value="<%= category.getCategoryID() %>">
分類(lèi)名稱(chēng):
<input type="text" name="categoryName" size="20" value="<%= category.getCategoryName() %>">
<br>
分類(lèi)說(shuō)明:
<textarea name="categoryComment" cols="60" rows="5"><%= category.getCategoryComment() %></textarea>
<br>
<input type="submit" name="Submit" value=" 修 改 ">
</form>
</li>
</ul>
</body>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -