?? article.jsp
字號:
<%@ taglib prefix="mt" uri="/WEB-INF/technologic.tld" %>
<%@ page contentType="text/html; charset=gb2312" %>
<jsp:useBean id="article" scope="page" class="org.jetic.web.technologic.Article" />
<jsp:setProperty name="article" 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> ->
<a href="category.jsp?categoryID=<%= article.getCategoryID() %>"><%= article.getCategoryName() %></a> ->
<%= article.getArticleTitle() %>
<p/>
<table border="0" cellspacing="1" cellpadding="2">
<tr>
<th>字段</th>
<th>值</th>
</tr>
<tr>
<td>題目</td>
<td><%= article.getArticleTitle() %></td>
</tr>
<tr>
<td>作者</td>
<td><%= article.getArticleAuthor() %></td>
</tr>
<tr>
<td>來自</td>
<td><%= article.getArticleFrom() %></td>
</tr>
<tr>
<td>使用HTML</td>
<td>
<%= article.getArticleUseHtml() %>
(說明:0 標識不使用,1 標識使用)
</td>
</tr>
<tr>
<td valign="top">內容</td>
<td><%= article.getArticleContent() %></td>
</tr>
<tr>
<td>時間</td>
<td><%= article.getArticleTime() %></td>
</tr>
</table>
<ul>
<li>
<a href="discuss.jsp?articleID=<%= article.getArticleID() %>">查看網友相關討論</a>
(<%= article.getArticleDiscussCount() %>)
</li>
<li>修改文章數據
<form name="form1" method="post" action="modifyarticle.jsp">
<input type="hidden" name="articleID" value="<%= article.getArticleID() %>">
分類:
<select name="categoryID">
<mt:CategoryList>
<option value="<%= categoryID %>"<%
if (categoryID.intValue() == article.getCategoryID()) out.print(" selected");
%>><%= categoryName %></option>
</mt:CategoryList>
</select>
<br>
題目:
<input type="text" name="articleTitle" size="50" value="<%= article.getArticleInputTitle() %>">
<br>
作者:
<input type="text" name="articleAuthor" size="20" value="<%= article.getArticleInputAuthor() %>">
<br>
來自:
<input type="text" name="articleFrom" size="25" value="<%= article.getArticleInputFrom() %>">
<br>
HTML:
<input type="radio" name="articleUseHtml" value="1"<%
if (article.getArticleUseHtml() == 1) out.print(" checked");
%>>
使用
<input type="radio" name="articleUseHtml" value="0"<%
if (article.getArticleUseHtml() == 0) out.print(" checked");
%>>
不使用<br>
內容:
<textarea name="articleContent" cols="60" rows="5"><%= article.getArticleInputContent() %></textarea>
<br>
<input type="submit" value=" 修 改 ">
</form>
</li>
</ul>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -