1.zip

  • John·Lawrence
    了解作者
  • Java
    开发工具
  • 68KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 0
    下载次数
  • 2020-11-22 15:01
    上传日期
web方式下实现web用户登录,要求使用jsp和serlet
1.zip
  • 1.docx
    92.5KB
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/6265a66e4c65f412590cfc21/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/6265a66e4c65f412590cfc21/bg1.jpg"><div class="c x0 y1 w2 h2"><div class="t m0 x1 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0">&#25991;&#20214;&#19968;&#65306;<span class="ff2 sc1">login.jsp</span></div><div class="t m0 x1 h4 y3 ff3 fs1 fc1 sc1 ls0 ws0">&lt;%@<span class="fc0"> <span class="fc2">page</span> <span class="fc3">language</span>=<span class="ff4 fc4">"java"</span> <span class="fc3">contentType</span>=<span class="ff4 fc4">"text/html; charset=UTF-8"</span></span></div><div class="t m0 x1 h4 y4 ff3 fs1 fc0 sc1 ls0 ws0"> <span class="fc3">pageEncoding</span>=<span class="ff4 fc4">"UTF-8"</span><span class="fc1">%&gt;</span></div><div class="t m0 x1 h4 y5 ff3 fs1 fc5 sc1 ls0 ws0">&lt;!<span class="fc2">DOCTYPE<span class="fc0"> </span></span>html&gt;</div><div class="t m0 x1 h4 y6 ff3 fs1 fc5 sc1 ls0 ws0">&lt;<span class="fc2">html</span>&gt;</div><div class="t m0 x1 h4 y7 ff3 fs1 fc5 sc1 ls0 ws0">&lt;<span class="fc2">head</span>&gt;</div><div class="t m0 x1 h4 y8 ff3 fs1 fc5 sc1 ls0 ws0">&lt;<span class="fc2">meta<span class="fc0"> <span class="fc3">http-equiv</span>=<span class="ff4 fc4">"Content-Type"</span> <span class="fc3">content</span>=<span class="ff4 fc4">"text/html; charset=UTF-8"</span></span></span>&gt;</div><div class="t m0 x1 h5 y9 ff3 fs1 fc5 sc1 ls0 ws0">&lt;<span class="fc2">title</span>&gt;<span class="ff1 fc0">&#26631;&#39064;</span>&lt;/<span class="fc2">title</span>&gt;</div><div class="t m0 x1 h4 ya ff3 fs1 fc5 sc1 ls0 ws0">&lt;<span class="fc2">style<span class="fc0"> <span class="fc3">type</span>=<span class="ff4 fc4">"text/css"</span></span></span>&gt;</div><div class="t m0 x2 h4 yb ff3 fs1 fc2 sc1 ls0 ws0">*<span class="fc0">{<span class="fc3">margin</span>: <span class="ff4 fc6">0</span>;<span class="fc3">padding</span>: <span class="ff4 fc6">0</span>;}</span></div><div class="t m0 x2 h6 yc ff2 fs1 fc2 sc1 ls0 ws0">form<span class="ff3 fc0">{<span class="fc3">margin</span>: <span class="ff4 fc6">0 auto</span>;<span class="fc3">padding</span>:<span class="ff4 fc6">15px</span>; <span class="fc3">width</span>: <span class="ff4 fc6">300px</span>;<span class="fc3">height</span>:<span class="ff4 fc6">300px</span>;<span class="fc3">text-</span></span></div><div class="t m0 x1 h4 yd ff3 fs1 fc3 sc1 ls0 ws0">align<span class="fc0">: <span class="ff4 fc6">center</span>;}</span></div><div class="t m0 x2 h4 ye ff4 fs1 fc2 sc1 ls0 ws0">#submit<span class="ff3 fc0">{<span class="fc3">padding</span>: </span><span class="fc6">10px<span class="ff3 fc0">}</span></span></div><div class="t m0 x2 h6 yf ff4 fs1 fc2 sc1 ls0 ws0">#submit<span class="ff3"> <span class="ff2">input</span><span class="fc0">{<span class="fc3">width</span>: </span></span><span class="fc6">50px<span class="ff3 fc0">;<span class="fc3">height</span>: </span>24px<span class="ff3 fc0">;}</span></span></div><div class="t m0 x1 h4 y10 ff3 fs1 fc5 sc1 ls0 ws0">&lt;/<span class="fc2">style</span>&gt;</div><div class="t m0 x1 h4 y11 ff3 fs1 fc5 sc1 ls0 ws0">&lt;/<span class="fc2">head</span>&gt;</div><div class="t m0 x1 h4 y12 ff3 fs1 fc5 sc1 ls0 ws0">&lt;<span class="fc2">body</span>&gt;</div><div class="t m0 x2 h4 y13 ff3 fs1 fc5 sc1 ls0 ws0">&lt;<span class="fc2">div<span class="fc0"> <span class="fc3">class</span>=<span class="ff4 fc4">"wrapper"</span></span></span>&gt;</div><div class="t m0 x3 h4 y14 ff3 fs1 fc5 sc1 ls0 ws0">&lt;<span class="fc2">form<span class="fc0"> <span class="fc3">action</span>=<span class="ff4 fc4">"</span><span class="fc1">&lt;%=</span>request.getContextPath()<span class="fc1">%&gt;<span class="ff4 fc4">/loginDemo"</span></span> </span></span></div><div class="t m0 x1 h4 y15 ff3 fs1 fc3 sc1 ls0 ws0">method<span class="fc0">=<span class="ff4 fc4">"post"</span><span class="fc5">&gt;</span></span></div><div class="t m0 x4 h4 y16 ff3 fs1 fc5 sc1 ls0 ws0">&lt;<span class="fc2">label</span>&gt;<span class="fc0">user name:</span>&lt;/<span class="fc2">label</span>&gt;</div><div class="t m0 x5 h4 y17 ff3 fs1 fc5 sc1 ls0 ws0">&lt;<span class="fc2">input<span class="fc0"> <span class="fc3">type</span>=<span class="ff4 fc4">"text"</span> <span class="fc3">name</span>=<span class="ff4 fc4">"userName"</span> <span class="fc3">value</span>=<span class="ff4 fc4">"</span>$</span></span></div><div class="t m0 x1 h4 y18 ff3 fs1 fc0 sc1 ls0 ws0">{param.userName}<span class="ff4 fc4">"</span><span class="fc5">/&gt;&lt;<span class="fc2">br</span>&gt;&lt;<span class="fc2">br</span>&gt;</span></div><div class="t m0 x4 h4 y19 ff3 fs1 fc5 sc1 ls0 ws0">&lt;<span class="fc2">label</span>&gt;<span class="fc0">passcard:</span>&lt;/<span class="fc2">label</span>&gt;</div><div class="t m0 x5 h4 y1a ff3 fs1 fc5 sc1 ls0 ws0">&lt;<span class="fc2">input<span class="fc0"> <span class="fc3">type</span>=<span class="ff4 fc4">"password"</span> <span class="fc3">name</span>=<span class="ff4 fc4">"password"</span></span></span>/&gt;&lt;<span class="fc2">br</span>&gt;</div><div class="t m0 x4 h4 y1b ff3 fs1 fc0 sc1 ls0 ws0">&lt;font color="red"&gt; </div><div class="t m0 x5 h4 y1c ff3 fs1 fc0 sc1 ls0 ws0">&lt;%</div><div class="t m0 x6 h4 y1d ff3 fs1 fc0 sc1 ls0 ws0">if(request.getAttribute("message")!= null){</div><div class="t m0 x7 h4 y1e ff3 fs1 fc0 sc1 ls0 ws0">out.print(request.getAttribute("message"));</div><div class="t m0 x6 h4 y1f ff3 fs1 fc0 sc1 ls0 ws0">}</div><div class="t m0 x5 h4 y20 ff3 fs1 fc0 sc1 ls0 ws0">%&gt;</div><div class="t m0 x4 h4 y21 ff3 fs1 fc0 sc1 ls0 ws0">&lt;/font&gt;</div><div class="t m0 x4 h4 y22 ff3 fs1 fc5 sc1 ls0 ws0">&lt;<span class="fc2">div<span class="fc0"> <span class="fc3">id</span>=<span class="ff4 fc4">"submit"</span></span></span>&gt;</div><div class="t m0 x5 h4 y23 ff3 fs1 fc5 sc1 ls0 ws0">&lt;<span class="fc2">input<span class="fc0"> <span class="fc3">type</span>=<span class="ff4 fc4">"submit"</span> <span class="fc3">value</span>=<span class="ff4 fc4">"login"</span></span></span>/&gt;</div><div class="t m0 x4 h4 y24 ff3 fs1 fc5 sc1 ls0 ws0">&lt;/<span class="fc2">div</span>&gt;</div><div class="t m0 x3 h4 y25 ff3 fs1 fc5 sc1 ls0 ws0">&lt;/<span class="fc2">form</span>&gt;</div><div class="t m0 x2 h4 y26 ff3 fs1 fc5 sc1 ls0 ws0">&lt;/<span class="fc2">div</span>&gt;</div><div class="t m0 x1 h4 y27 ff3 fs1 fc5 sc1 ls0 ws0">&lt;/<span class="fc2">body</span>&gt;</div><div class="t m0 x1 h4 y28 ff3 fs1 fc5 sc1 ls0 ws0">&lt;/<span class="fc2">html</span>&gt;</div></div></div><div class="pi" data-data='{"ctm":[1.611850,0.000000,0.000000,1.611850,0.000000,0.000000]}'></div></div> </body> </html>
评论
    相关推荐
    • JSP在线交流
      JSP在线交流,JSP动态网页的设计,用于动态网页设计
    • JSP试题
      JSP数据库高级教程试题
    • jsp例题
      jsp例题jsp例题jsp例题 原代码,各种算法
    • JSP实例
      JSP实例讲解分析。。JSP+ACCESS
    • JSP 课件
      第1章 JSP概述.ppt 第2章 JSP页面元素.ppt 第3章 JSP内置对象.ppt 第4章 JSP中的文件操作.ppt 第5章 JSP数据库.ppt 第九章servlet.ppt 第六章javabean.ppt
    • jsp源码
      jsp做的论坛源码,欢迎下载,谢谢支持,含servet 含javabean+jsp+mysql
    • jspSmartUpload
      jspSmartUpload是由www.jspsmart.com网站开发的一个可免费使用的全功能的文件上传下载组件,适于嵌入执行上传下载操作的JSP文件中。该组件有以下几个特点: 1、使用简单。在JSP文件中仅仅书写三五行JAVA代码就可以...
    • JSP教案
      JSP网页编程及JSP和Web页面的交互
    • jsp讲义.docx.rar
      JSP(全称JavaServer Pages)是由Sun Microsystems公司主导创建的一种动态网页技术标准。JSP部署于网络服务器上,可以响应客户端发送的请求,并根据请求内容动态地生成HTML、XML或其他格式文档的Web网页,然后返回给...
    • jsp04.zip
      jspjava网页编程语言写的一格小章节用作学习了解