anchor.diff:  <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
   <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
   <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
  -<% boolean isMobile = ClientUtil.isMobileClient(request.getHeader("user-agent"));
  +<%--<% boolean isMobile = ClientUtil.isMobileClient(request.getHeader("user-agent"));
       if (!isMobile) {
  -%>
  +%>--%>
   <html>
   <head>
       <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  
positive.code: </script>
  </body>
  </html>
  <%
  } else {
  %>
  <!DOCTYPE html>
  <html>
  <head>
      <base href="${base}"></base>
      <title>登录</title>
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <meta charset="utf-8">
      <!-- Bootstrap -->
      <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
      <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
      <!--[if lt IE 9]>
      <script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.min.js"></script>
      <script src="http://cdn.bootcss.com/respond.js/1.3.0/respond.min.js"></script>
      <![endif]-->
      <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
      <script src="xstwap/jquery.min.js"></script>
      <!-- Include all compiled plugins (below), or include individual files as needed -->
      <script src="xstwap/bootstrap.min.js"></script>
      <link rel="stylesheet" href="xstwap/style.css">
      <style type="text/css">
          .code {
              font-family: Arial;
              font-style: italic;
              color: Red;
              border: 0;
              padding: 2px 3px;
              letter-spacing: 3px;
              font-weight: bolder;
          }
  
          .unchanged {
              border: 0;
          }
      </style>
      <script>
          window.onload = function () {
              if (window.applicationCache) {
  
              } else {
                  alert("你的浏览器不支持HTML5,请下载最新版本的浏览器");
                  location.href = "http://www.baidu.com";
              }
          }
  
      </script>
      <script>
          //加载用户信息
          $(function () {
              var user = localStorage.getItem("userInfo");
              if (user != null) {
                  var userInfo = JSON.parse(user);
                  $("#username").val(userInfo.username);
                  $("#password").val(userInfo.password);
                  console.info(userInfo.username);
              }
              //单击回车
              document.onkeydown = function (e) {
                  var ev = document.all ? window.event : e;
                  if (ev.keyCode == 13) {
                      subCheck();
                  }
              }
  
          });
  
          function subCheck() {
              var username = $("#username").val();
              var password = $("#password").val();
              if (username == '') {
                  alert("请输入用户名");
                  return false;
              }
              if (password == '') {
                  alert("请输入密码");
                  return false;
              }
              if (password.length < 6) {
                  alert("密码长度不能小于六位");
                  return false;
              }
  
  
              var user = new Object;
              user.username = username;
              user.password = password;
              localStorage.setItem("userInfo", JSON.stringify(user));
              /*   if (!validate()) {
               return false;
               } */
              $("#loginform").submit();
              //location.href = "/wapres/html5/middle.html";
          }
      </script>
  
      <script language="javascript" type="text/javascript">
          /*   console.info(Math.floor(Math.random() * 10));
           var code; //在全局 定义验证码
           function createCode() {
           } */
  
          /*     function validate() {
           var inputCode = $("#input1").val();
           if (inputCode.length <= 0) {
           alert("请输入验证码！");
           } else if (inputCode != code) {
           createCode();
           alert("验证码输入错误！");
           //刷新验证码
           return false;
           } else {
           //alert("^-^ OK");
           return true;
           }
           } */
      </script>
  
  </head>
  <div class="header">
      <h1>登录</h1></div>
  <div class="wrap">
      <div class="t_p"><p></p></div>
      <div class="section">
          <div class="login">
              <form:form method="post" id="fm1" commandName="${commandName}" htmlEscape="true">
                  <ul class="blist">
                      <li class="item">
                          <div class="item_box"><span class="icons icon_log fl"></span> <span class="item_inp"><input
                                  placeholder="请输入用户名" name="username" id="username" class="t_i" value="" maxlength="12"
                                  required="" type="text"></span></div>
                      </li>
                      <li class="item">
                          <div class="item_box"><span class="icons icon_pass"></span> <span class="item_inp"><input
                                  placeholder="请输入密码" name="password" id="password" class="t_i" value="" maxlength="15"
                                  required="" type="password"></span></div>
                      </li>
                      <li class="item">
                          <div class="item_box">
                              <span class="icons login_code"></span><span class="item_inp">
                              <input placeholder="请输入验证码" name="j_captcha_response" id="j_captcha_response" class="t_i"
                                     value="" maxlength="15"
                                     required="" type="text">
                              <div class="searchbtn"><img src="captcha" style="margin-left: -20px" width="70"
                                                          height="40"/>
  							</div>
                          </div>
                      </li>
                      <li><b class="wro" style="color: red"><form:errors path="*" id="msg" element="span"
                                                                         htmlEscape="false"/>&nbsp;</b></li>
                      <li class="item"><input class="t_b btn_log" value="登录" type="submit"></li>
                      <input type="hidden" name="lt" value="${loginTicket}"/>
                      <input type="hidden" name="execution" value="${flowExecutionKey}"/>
                      <input type="hidden" name="_eventId" value="submit"/>
                  </ul>
              </form:form>
          </div>
      </div>
      <div class="block">
          <ul class="blist">
              <div align="center">
                  <li class="item"><a href="http://xst.gionee.com/client.html">android客户端下载</a></p></li>
              </div>
          </ul>
          <ul class="blist">
              <div align="center"><p style="color:#86AECD;font-size: 11px;">©版权所有：深圳市金立通信设备有限公司 </p> <br>
                  <p style="color:#86AECD;font-size: 11px;">软件开发：金立集团信息中心开发部</p>
              </div>
          </ul>
      </div>
  </div>
  </html>
  <%
      }
  %>
  
negative.code:     $(function () {
          $('#username').attr('placeholder', '用户名');
          $('#password').attr('placeholder', '密码');
          $('#captcha').attr('placeholder', '验证码');
          if (!$('#password').val()) {
              $('#password').focus();
          }
  