⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 changepwd.jsp

📁 一个仿造淘宝的jsp网站。功能比较完善
💻 JSP
字号:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'ChangePwd.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

    <link href="CSS/changepwd.css" rel="stylesheet" type="text/css">
	<link href="CSS/MyCss.css" rel="stylesheet" type="text/css">
    <style type="text/css">
<!--
.style3 {font-size: 12px}
.style4 {font-size: 14px}
-->
    </style>
  </head>
  
  <body>
  <div id="buttomdiv">
      <div id="top">
	      <div id="changetoppic"><img src="image/Head/2.jpg" width="240" height="31"></div>
    <div id="changetopfont"> 
	  <form action="" method="post" name="myfrm"  style="vertical-align:middle;">     
        <table border="0" cellspacing="0" style="top: 85px; ">
          
		  <tr>
            <td width="54" height="20" align="center" valign="middle"><a href="" class="font style3">我要买</a></td>
            <td width="57" align="center" valign="middle"><a href="" class="font style3">我要卖</a></td>
            <td width="62" align="center" valign="middle"><a href="" class="font style3">我的淘宝</a></td>
            <td width="49" align="center" valign="middle"><a href="" class="font style3">社区</a></td>
            <td width="73" align="center" valign="middle"><a href="" class="font style3">交易安全</a></td>
            <td width="77" align="center" valign="middle"><a href="" class="font style3">帮助中心</a></td>
           <td width="166" align="right" valign="middle">
			 
			  
			  
			<input type="text" name="sousuo" id="sousou" height="15" size="15" value="开始全新搜索" style="border:1px solid #cccccc;font-size: 12;" onFocus="javascript:document.myfrm.sousuo.value='';" onBlur="document.myfrm.sousuo.value='开始全新搜索'">
			  <input style="font-size:10px"  type="submit" value="搜索">
				  
			  
			
		    </td>
            
          </tr>
		  
        </table>
	  </form>
	</div>
    
    <div id="changetopfont2">
  <table width="631" height="19" border="0" cellpadding="0" cellspacing="0">
  <tr>
             <td width="145" valign="middle" class="font  style3"><%String username=(String)session.getAttribute("loginusername"); 
							 if(username==null)
							 {
							 out.print("你好,");
							 }else
							 {
							   %>
		            <%=username %>,
		            <% 
							 }
							%>欢迎来淘宝网!</td>
              <td width="71" align="center" valign="middle"><a href="">[免费注册]</a></td>
              <td width="50" align="center" valign="middle"><a href="">[登录]</a></td>
              <td width="68" align="center" valign="middle"><a href="">阿里旺旺</a></td>
              <td width="59" align="center" valign="middle"><a href="">支付宝</a></td>
              <td width="58" align="center" valign="middle"><a href="">高级搜索</a></td>
              <td width="58" align="center" valign="middle"><a href="">我的邮箱</a></td>
              <td width="60" align="center" valign="middle"><a href="">手机淘宝</a></td>
              <td width=62 align="center" valign="middle"><a href="">更多服务</a></td>
    </tr>
    </table>
  </div>
	  </div>
	  <div id="navigation">
	    <table width="977" height="50" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
        </table>
	  </div>
	  <div id="front">
	     <div id="changepwd1left">	
			   
		 </div>
		 <div id="changepwd1rigth">
	<form action="servlet/FoundPwdServlet" method="post">
      <table width="522" height="497" border="0" cellpadding="0" cellspacing="0">
        <tr bgcolor="#EFEFEF">
          <td colspan="2"><div align="center"></div></td>
        </tr>
        <tr>
          <td colspan="2"><div align="center" class="style4">以下问题均为注册时用户填写的问题,为了找回您的密码,请填写信息:</div></td>
        </tr>
        <tr bgcolor="#F4FBFF">
          <td height="53"><div align="center">您的帐号:</div></td>
          <td><input type="text" name="username" style="width:300px; border:1px solid #cccccc;"></td>
        </tr>
        <tr>
          <td height="47">&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td width="184" height="56" bgcolor="#F4FBFF"><div align="center">密码问题:</div></td>
          <td width="489" bgcolor="#F4FBFF"><input type="text" name="question" style="width:300px; border:1px solid #cccccc;"></td>
        </tr>
        <tr >
          <td height="46"><div align="center"></div></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td height="57" bgcolor="#F4FBFF"><div align="center">密码答案:</div></td>
          <td bgcolor="#F4FBFF"><input type="text" name="answer" style="width:300px; border:1px solid #cccccc;"></td>
        </tr>
        <tr>
          <td height="54" colspan="2"><div align="center">
            <input type="submit" name="Submit" value="确认提交" style="width:120px; border:1px solid #cccccc;">&nbsp;&nbsp;&nbsp;&nbsp;
            <input type="reset" name="newwrite" value="重新填写" style="width:120px; border:1px solid #cccccc;">
          </div></td>
        </tr>
        <tr bgcolor="#F4FBFF">
          <td height="41" colspan="2"><div align="center">
          </div></td>
        </tr>
        <tr>
          <td colspan="2"><div align="center"><% 
           String pwd=(String)request.getAttribute("foundpwdinchangepwd");
           if(pwd!=null)
           {
           out.print("您好,您的密码为"+pwd+",你可要记好哦!");
           }
           %>
          </div></td>
        </tr>
      </table>
	  </form>
		 </div>
		 <div id="changgepwdright2xxx">
		 <table width="199" height="327" border="0" cellpadding="0" cellspacing="0">
                 <tr>
                   <td height="22" bgcolor="#F4FBFF"><span class="style4"><strong>公告</strong></span></td>
                 </tr>
                 <tr>
                   <td height="111"><ol style="list-style-type:circle; float:left; margin-left:4px;font-size:12px;">
                    <li style="margin-left:5px; margin-top:9px;"><a href="">定旺铺优惠60元</a></li>
					<li style="margin-left:5px; margin-top:9px;"><a href="">绝招,你装饰店铺,别人买单</a></li>
					<li style="margin-left:5px; margin-top:9px; margin-bottom:20px;"><a href="">抢,轻松推荐就赚丰厚佣金</a></li>
                  </ol></td>
                 </tr>
                 <tr>
                   <td height="22" bgcolor="#F4FBFF"><span class="style4"><strong>新功能</strong></span></td>
                 </tr>
                 <tr>
                   <td><ol style="list-style-type:circle; float:left; margin-left:4px;font-size:12px;">
                    <li style="margin-left:5px; margin-top:9px;"><a href="">有问题,24小时在线答疑</a></li>
					<li style="margin-left:5px; margin-top:9px;"><a href="">小买家,日进斗金,绝招看这里</a></li>
					<li style="margin-left:5px; margin-top:9px;"><a href="">小买家,日进斗金,绝招看这里</a></li>
					<li style="margin-left:5px; margin-top:9px; margin-bottom:20px;"><a href="">败家女揭秘,这样买打5折</a></li>
                  </ol></td>
                 </tr>
                 <tr>
                   <td height="23" bgcolor="#F4FBFF"><span class="style4"><strong>促销活动</strong></span></td>
                 </tr>
                 <tr>
                   <td><ol style="list-style-type:circle; float:left; margin-left:4px;font-size:12px;">
                    <li style="margin-left:5px; margin-top:9px;"><a href="">淘宝VIP卡,一卡在手,尽享折扣</a></li>
					<li style="margin-left:5px; margin-top:9px;"><a href="">跳楼价 大瓶天然玫瑰纯露9.9元</a></li>
					 <li style="margin-left:5px; margin-top:9px;"><a href="">淘宝VIP卡,一卡在手,尽享折扣</a></li>
					<li style="margin-left:5px; margin-top:9px;"><a href="">跳楼价 大瓶天然玫瑰纯露9.9元</a></li>
					<li style="margin-left:5px; margin-top:9px; margin-bottom:20px;"><a href="">买红酒面膜送丰胸精油惊爆价59</a></li>
                  </ol></td>
                 </tr>
                 <tr>
                   <td align="center" valign="middle"><img src="image/qiyue.jpg"></td>
                 </tr>
           </table>
		 </div>
	  </div>
	  <div id="buttom">
	     <UL>
		  <LI><A href="">关于淘宝</A> </LI>
		  <LI><A href="">合作伙伴</A> </LI>
		  <LI><A href="">帮助中心</A></LI>
		  <LI><A href="">诚征英才</A> </LI>
		  <LI><A href="">联系我们</A> </LI>
		  <LI><A href="">网站地图</A> </LI>
		  <LI><A href="">热门商品</A> </LI>
		  <LI><A href="">热门品牌</A> </LI>
		  <LI><A href="">版权说明 </A></LI>
		  <LI><A href="">淘客推广</A> </LI>
  </UL>
<DIV class="style1" id="changebuttomfont">全球阿里巴巴 - 阿里巴巴网络:<A href="">中国站</A> 
    <A href="">国际站</A>
    <A href="">日文站</A> | <A 
href="">淘宝站</A> | <A 
href="">支付宝</A> | <A 
href="">中国雅虎</A> | <A 
href="">雅虎口碑网</A> | <A 
href="">阿里软件</A> | <A 
href="">阿里妈妈</A> </DIV>
<DIV class="style1" id="changebuttomfont2">Copyright 2003-2008, 版权所有 TAOBAO.COM  </DIV>
	  </div>
  </div>
  </body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -