?? login1.jsp
字號:
<%--
Struts網上商城使用版本 BY GTON WEB:www.98202.com QQ:27612285
需要完整版請聯系本人
--%>
<%@page contentType="text/html; charset=GBK"%>
<%@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"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
<html:html>
<link href="/shop/img/css.css" type="text/css" rel="stylesheet"/>
<body>
<table cellspacing="0" cellpadding="0" width="178" align="center" border="0">
<tbody>
<tr>
<td height="41">
<div align="center">
<table cellspacing="1" cellpadding="1" width="95%" align="center" border="0">
<c:if test="${empty sessionScope.useBean}">
<html:form action="/loginAction.do" method="post">
<tbody>
<tr>
<td align="middle" height="22">
<font color="#999999">顧客您好,購買商品請先登錄</font>
</td>
<c:if test="${requestScope.loginms==0}">
<br> <font color="red">無此用戶或密碼錯誤!</font>
</c:if>
</tr>
<tr>
<td align="middle"> 用戶名:
<html:text maxlength="10" property="userNmae" style="BORDER-RIGHT: #ffffff 0px groove; BORDER-TOP: #ffffff 0px groove; BORDER-LEFT: #ffffff 0px groove; COLOR: #333333; HEIGHT: 18px; BACKGROUND-COLOR: #ffffff" size="10"/>
</td>
</tr>
<tr>
<td align="middle"> 密 碼:
<html:password maxlength="10" property="userPwd" style="BORDER-RIGHT: #ffffff 0px groove; BORDER-TOP: #ffffff 0px groove; BORDER-LEFT: #ffffff 0px groove; COLOR: #333333; HEIGHT: 18px; BACKGROUND-COLOR: #ffffff" size="10"/>
</td>
</tr>
<tr>
<td align="middle" height="38">
<html:image property="imageField" onfocus="this.blur()" border="0" src="/shop/img/login_bt_login.gif"/>
<html:link href="/shop/jsp/reg/reg.jsp">
<html:img width="47" height="38" border="0" src="/shop/img/login_bt_zc.gif"/>
</html:link>
<html:link href="javascript:;" onclick="javascript:window.open('getpwd.jsp','','width=350,height=200');">
<html:img width="47" height="40" border="0" src="/shop/img/login_bt_wm.gif"/>
</html:link>
</td>
</tr>
</tbody>
</html:form>
</c:if>
<c:if test="${not empty sessionScope.useBean}">
<p>
<font color="red">${sessionScope.useBean.realName}
<c:if test="${sessionScope.useBean.userSex==1}">
先生
</c:if>
<c:if test="${sessionScope.useBean.userSex==2}">
小姐
</c:if>
</font>
您好
</p>
<br>
</c:if>
</table>
</div>
</td>
</tr>
</tbody>
</table>
</body>
</html:html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -