index.jsp
来自「该源码包括了基于J2EE的数据持久层设计,设计中使用了DAO,Service,等」· JSP 代码 · 共 76 行
JSP
76 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=gb2312"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>login</title>
<style type="text/css">
<!--
.style1 {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-style: italic;
color: #0000FF;
font-size: xx-large;
}
.style2 {
color: #0000FF;
font-size: 16px;
}
.style4 {color: #000000}
.style5 {color: #000000; font-size: 16px; }
.style6 {
font-size: 18px;
color: #0000FF;
font-style: italic;
}
-->
</style>
</head>
<body>
<p align="center" class="style1"><img src="images/frontpage.jpg" width="318" height="178" align="middle"></p>
<p align="center" class="style1">please enter your username and password to login in </p>
<html:form action="user.do">
<table width="379" height="146" border="0" align="center" bgcolor="#D5F2FD">
<tr>
<th width="155" height="46" scope="row"><div align="center" class="style2 style4">User name </div></th>
<td width="214" height="46"><div align="center">
<div align="left">
<html:text property="username" size="20"/>
</div>
</div></td>
</tr>
<tr>
<th width="155" height="50" scope="row"><span class="style5">Password</span></th>
<td width="214" height="50">
<div align="left">
<html:password property="password" size="20"/>
</div> </td>
</tr>
<tr>
<th height="15" colspan="2" scope="row">
<div align="left">
<blockquote>
<blockquote>
<blockquote>
<p align="center">
<input type="submit" name="Submit" value="Login">
</p>
</blockquote>
</blockquote>
</blockquote>
</div> </th>
</tr>
</table>
</html:form>
<p align="center" class="style6"><a href="Newregistration.jsp">new user </a></p>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?