日期:2014-05-17 浏览次数:20839 次
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登陆系统</title>
<!-- 此标志的作用是引入Struts 2.0的常用的Javascript和CSS -->
<s:head/>
</head>
<body>
<%@include file="common/header.jsp"%>
<table width="780" align="center" background="<%=ctx%>/images/bodybg.jpg">
<tr>
<td>
<h6>请输入用户名和密码来登陆<br></h6>
<s:if test="tip!=null">
<div class="error">
<s:property value="tip"/>
</div>
</s:if>
<s:actionerror cssClass="error"/>
<s:form action="login" name="form1" method="post" validate="true">
<s:textfield name="username" label="用户名"/>
<s:password name="password" label="密码"/>
<tr>
<td colspan="2">
<s:submit value="登录" theme="simple"/>
<s:reset theme="simple" value="重置" />
</td>
</tr>
</s:form>
</td><