📄 relword.jsp
字号:
<%@ page language="java" contentType="text/html; charset=gb2312"
pageEncoding="gb2312"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>Insert title here</title>
</head>
<body background="file:///d|/My Documents/My Pictures/beijingtupian/154_12062[1].jpg">
<div align="center">
<script language="VBScript">
sub check()
if form1.user.value="" then
alert"请输入留言人"
form1.user.focus
exit sub
end if
if form1.title.value="" then
alert"请输入留言标题"
form1.title.focus
exit sub
end if
if form1.content.value="" then
alert"请输入留言内容"
form1.content.focus
exit sub
end if
form1.submit
end sub
sub bb()
form1.img.src=document.form1.tou.value
end sub
</script>
<div align="left">
<strong><<<a href="index1.jsp">首页</a><<留言版</strong>
<form name="form1" method="post" action="servlet/relservelet">
<table width="87%" height="447" border="1" align="center" bgcolor="#CCFFCC">
<tr>
<td width="15%" height="24"><div align="left">回复留言:</div></td>
<td colspan="2">
<div align="left">
<input name="user" type="text" id="user">
<font color="#FF0000">*</font>
<label></label>
</div></td>
</tr>
<tr>
<td height="81">性 别</td>
<td width="26%"><select name="tou" id="tou" onChange="bb()">
<option value="images/01.gif">images/01.gif</option>
<option value="images/04.gif">images/04.gif</option>
</select></td>
<td width="59%"><img name="img" src="images/01.gif" width="70" height="77" alt=""></td>
</tr>
<tr>
<td height="29">标题:</td>
<td colspan="2"><input type="title" name="title"></td>
</tr>
<tr>
<td height="28">回复留言内容:</td>
<td colspan="2"><font color="#0066FF">
<textarea name="content" cols="58" rows="15" id="content"></textarea>
</font></td>
</tr>
<tr>
<td height="20" colspan="3">验证码:
<input name="textfield" type="text" size="12">
3 8 3 8 </td>
</tr>
<tr>
<td height="20" colspan="3"> <div align="center">
<input name="ly" type="button" id="ly" value="回复留言" onClick="check()">
<input type="reset" name="Submit2" value="重置">
</div>
<div align="center"></div></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -