forked from maxliaops/Java_Web_Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin_check.jsp
More file actions
55 lines (53 loc) · 1.93 KB
/
admin_check.jsp
File metadata and controls
55 lines (53 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
<base href="<%=basePath%>">
<title>明日博客地带-管理员登录</title>
<style type="text/css">
body{
font-size:12px;
background-color:#AEC076;
}
</style>
</head>
<script language="javascript" type="text/javascript" src="js/validate.JS"></script>
<body><center>
<s:form action="adminInfo_admin_check">
<table width="352" height="231" border="0" cellpadding="0" cellspacing="0" background="images/a_land.gif">
<tr>
<td>
<table width="261" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="83" height="25" align="right">账 号:</td>
<td colspan="2"><s:textfield name="account"/><s:fielderror><s:param value="%{'account'}"/></s:fielderror></td>
</tr>
<tr>
<td height="25" align="right">密 码:</td>
<td colspan="2"><s:password name="password"/><s:fielderror><s:param value="%{'password'}"/></s:fielderror></td>
</tr>
<tr>
<td height="25" align="right">校验码:</td>
<td colspan="2"><s:textfield name="code"/><s:fielderror><s:param value="%{'code'}"/></s:fielderror></td>
</tr>
<tr>
<td height="25"> </td>
<td width="82"><img src="image.jsp" name="validateCodeImg" border=0 id="validateCodeImg" /> </td>
<td width="96"><a href="javascript:refreshImg('validateCodeImg');">看不清</a></td>
</tr>
<tr>
<td> </td>
<td colspan="2"><s:submit value=" 登录 "/></td>
</tr>
</table>
</td>
</tr>
</table>
</s:form>
</center>
</body>
</html>