📄 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 + -