?? reply.jsp
字號:
<%@ page contentType="text/html; charset=gb2312" language="java" errorPage="../error.jsp" %>
<script language="javascript">
<!-- Begin validation script
function checkForm(){
if(document.form1.title.value==""){
alert("請輸入標題!");
return false;
}
if(document.form1.content.value==""){
alert("請輸入內容!");
return false;
}
return true;
}
-->
</script>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../hellking.css" type=text/css rel=stylesheet>
</head>
<body>
<form name="form1" action="/jspdev/servlet/replytopicservlet" method=post onSubmit="return checkForm()">
<table align="center" bgcolor="#008800" border="0" cellspacing="2" cellpadding="5" width=80%>
<tr bgcolor="#cccccc">
<td>標題</td> <td><input type=text name="title"></td>
</tr>
<tr bgcolor="#cc99cc">
<td>作者</td><td><input type=text value=<%=session.getAttribute("name")%> name=author></td>
</tr>
<tr bgcolor="#cccccc">
<td>電子郵件</td><td><input type=text value=<%=session.getAttribute("email")%> name=email></td>
</tr>
<tr bgcolor="#cc99cc">
<td>內容</td><td><textarea cols=40 rows=9 name=content></textarea></td>
<input type=hidden name=topicId value=<%=request.getParameter("thread")%>
</tr>
<tr bgcolor="#cccccc">
<td>提交</td><td><input type=submit value=提交> </td>
</tr>
</table>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -