Files
VANTEN/WebRoot/chartroom/index.jsp

34 lines
1.1 KiB
Plaintext

<%@ page contentType="text/html;charset=utf-8" language="java" %>
<html>
<title>
聊天室
</title>
<link href="../css/chart_style.css" rel="stylesheet">
<link href="../css/bootstrap.css" rel="stylesheet">
<script language="javascript">
function check(){
if(form1.username.value==""){
alert("请输入用户名!");form1.username.focus();return false;
}
}
</script>
<body>
<br>
<form role="form" name="form1" method="post" action="login.jsp" onSubmit="return check()">
<div class="form-group">
<table width="363" height="224" border="0" align="center" cellpadding="0" cellspacing="0" background="images/login.png">
<tr>
<td height="121" colspan="3" class="word_dark">&nbsp;</td>
</tr>
<tr>
<td width="53" align="center" valign="top" class="word_dark">&nbsp;</td>
<td width="216" align="center" valign="top" class="word_dark">用户名:
<input type="text" name="username"></td>
<td width="94" valign="top" class="word_dark"><input type="image" name="imageField" src="images/go.jpg"></td>
</tr>
</table>
</div>
</form>
</body>
</html>