日期:2014-05-16  浏览次数:20366 次

ExtJS带进度条的登陆验证+验证码+回车提交
如下是ExtJS的登陆界面效果图:
       

       

以下是程序代码:

/**************************************login.html***************************************/

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

  <head>

    <title>login.html</title>

 

    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">

    <meta http-equiv="description" content="this is my page">

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">

   

    <link rel="stylesheet" href="JS/ext/resources/css/ext-all.css" type="text/css"></link>

  <script type="text/javascript" src="JS/ext/adapter/ext/ext-base.js"></script>

  <script type="text/javascript" src="JS/ext/ext-all.js"></script>

  <script type="text/javascript" src="JS/js/login.js"></script>

  </head>

 

  <body>

    <!-- <div id="divLogin" ></div> -->

    <img src="Image/22214Z262N.gif" id="leftImg" width="150" height="100" style="display:none"/>

  </body>

</html>

/*********************************实体类 User***************************************/

package aa.bb.cc.vo;

public class User {

 

 private int id;

 private String userName;

 private String password;

 

 public int getId() {

  return id;

 }

 public void setId(int id) {

  this.id = id;

 }

 public String getPassword() {

  return password;