隨筆 - 64  文章 - 9  trackbacks - 0
          <2025年6月>
          25262728293031
          1234567
          891011121314
          15161718192021
          22232425262728
          293012345

          常用鏈接

          留言簿(6)

          我參與的團隊

          隨筆分類(88)

          隨筆檔案(92)

          文章分類(142)

          文章檔案(182)

          天基成員

          學習園

          我的海角

          搜索

          •  

          積分與排名

          • 積分 - 183435
          • 排名 - 319

          最新評論

          frame.html

          <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
          <html xmlns="http://www.w3.org/1999/xhtml">
          <head>
          <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
          <title>無標題文檔</title>
          </head>

          <frameset rows="*" cols="*,145" framespacing="4" frameborder="yes" border="4" bordercolor="#3333FF">
            <frameset rows="*,100" cols="*" framespacing="4" frameborder="yes" border="4" bordercolor="#3333FF">
              <frame src="chatHall.jsp" name="mainFrame" id="mainFrame" title="mainFrame" />
              <frame src="login.jsp" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame" title="bottomFrame" />
            </frameset>
            <frame src="chatList.jsp" name="rightFrame" scrolling="No" noresize="noresize" id="rightFrame" title="rightFrame" />
          </frameset>
          <noframes><body>
          </body>
          </noframes></html>


          login.jsp


          <%@ page contentType="text/html;charset=GBK" %>

          <html><style type="text/css">
          <!--
          body {
           background-image: url();
           background-color: #CCCC66;
           margin-top: 0px;
          }
          -->
          </style><body>
          <form action="judge.jsp" method=post>
          <img src="Bear.bmp" width="82" height="77">   姓名:
          <input type="text" name="name">
          <input type="submit" name="submit" value="提交">
          <br>
          </form>
          </body></html>


          judge.jsp
          <%@ page contentType="text/html;charset=GBK" %>
          <html><body><center>
          <%
           String str = request.getParameter("name");
           if(str.length() == 0)
            response.sendRedirect("login.jsp");
           else{
            response.sendRedirect("input.jsp");
            session.setAttribute("name",str);
           }
          %>
          </body></html>

          posted on 2009-09-24 11:13 鵬凌 閱讀(302) 評論(0)  編輯  收藏 所屬分類: Java --j2ee
          主站蜘蛛池模板: 鲁山县| 栾川县| 元朗区| 汽车| 民丰县| 湖口县| 陆川县| 蒙山县| 霍州市| 奈曼旗| 巢湖市| 井冈山市| 合江县| 康乐县| 额尔古纳市| 赞皇县| 保亭| 贡嘎县| 汝州市| 佛山市| 芦山县| 婺源县| 枣强县| 武隆县| 阳城县| 梁平县| 双江| 平阴县| 平昌县| 馆陶县| 武义县| 来宾市| 布尔津县| 阜新市| 阿拉善右旗| 南江县| 青海省| 噶尔县| 东光县| 固阳县| 藁城市|