方槍槍的java世界

          不要因為風雨飄落就停止了你的腳步,真正的得失就在你的心中。 做喜歡做的事,不輕言放棄!

          06 整合spring3和mybatis進行web開發之login_jsp(spring_security)

          <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
          <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
          <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "<html>
          <head>
          <title>Spring Security - Login.jsp</title>
          <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
          <link type="text/css" rel="stylesheet" href="
          http://localhost:8080/jxc/skins/default/css/ngmain.css" />
          <script language=javascript src="http://localhost:8080/jxc/skins/default/js/ngcommon.js"></script>
          <script language="javascript">
          function doLogin()
          {
           document.form0.action = "<%=request.getContextPath()%>/loginAction!login.action";
           document.form0.method = "post";
           document.form0.submit();
          }
          </script>
          </head>
          <body onload='document.f.j_username.focus();'>
          <h3>Login with Username and Password</h3>

          <form name="f" method="POST"
           action="<c:url value="j_spring_security_check"/>">
          <table>
           <tr>
            <td align="right">Username</td>
            <td><input type="text" name="j_username" value="a" /></td>
           </tr>
           <tr>
            <td align="right">Password</td>
            <td><input type="password" name="j_password" value="1" /></td>
           </tr>
           <tr>
            <td colspan="2" align="right"><input type="submit" value="Login" />
            <input type="reset" value="Reset" /></td>
           </tr>
          </table>
          </form>

          <center>
          <div id="footer">
          <h5>幫助 | 關于我們 | 使用條款 | 開放平臺</h5>
          <a href="http://localhost:8080/jxc/welcome.jsp">f_qiangqiang@qq.com</a>
          </div>
          </center>

          <center><h1><a href=">

          </body>
          </html>

          posted on 2012-07-07 15:11 做強大的自己 閱讀(249) 評論(0)  編輯  收藏 所屬分類: Spring

          主站蜘蛛池模板: 潜山县| 张家港市| 临沧市| 青岛市| 安平县| 县级市| 乐昌市| 旌德县| 塔城市| 淳安县| 禹州市| 阳山县| 金川县| 兴文县| 武胜县| 增城市| 浦城县| 菏泽市| 无棣县| 建瓯市| 太谷县| 定西市| 雷波县| 东至县| 塘沽区| 灌阳县| 利津县| 拜城县| 绵阳市| 阳谷县| 托里县| 龙海市| 若尔盖县| 达拉特旗| 郁南县| 隆子县| 滨海县| 凌云县| 韩城市| 凉山| 巴彦淖尔市|