毕业设计JSP Eclipse博客网站系统 第4页

JSP博客网站系统,首页登录系统源代码

login.jsp


<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="huc.blog.util.ParamUtils" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<%
 String info = ParamUtils.getAttribute(request, "info", "");
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
   
    <title>鍗氬鈥斺旂櫥褰?/title>
   
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
   
    <link rel="stylesheet" type="text/css" href="css/styles.css">
  </head>
 
  <body>
    <CENTER>
  <jsp:include page="common/indexheader.jsp" />
     <FORM action="servlet/DoLogin" method="post">
     
    <TABLE width="800" border="1" align="center" bordercolor="white" bgcolor="#E4EDFB">
      <TR>
       <TD colspan="2" align="center">鐢ㄦ埛鐧诲綍</TD>
      </TR>
      <TR>
       <TD colspan="2" align="center"><FONT color="red" size="1"><%=info.equals("") ? "" : info%></FONT></TD>
      </TR>
      <TR>
       
        <TD width="358" align="right">鐢ㄦ埛鍚?</TD>
       <TD width="426"><INPUT type="text" name="userName" size="20"/></TD>
      </TR>
      <TR>
       
        <TD align="right">鐢ㄦ埛瀵嗙爜:</TD>
       <TD><INPUT type="password" name="userPass" size="20"/></TD>
      </TR>
      <TR>
       <TD colspan="2" align="center">
     <INPUT type="submit" name="loginButton" value="鐧诲綍" class="signinbtn1"/>&nbsp;
     <INPUT type="reset" name="resetButton" value="閲嶅啓" class="signinbtn1"/>&nbsp;
     <INPUT type="button" name="backButton" value="杩斿洖" class="signinbtn1" onclick="location.href='<%=basePath%>'"/>
       </TD>
      </TR>
     </TABLE>
     </FORM>
    </CENTER>
  <jsp:include page="common/footer.jsp" />
  </body>
</html>

上一页  [1] [2] [3] [4] [5] 下一页

Copyright © 2007-2012 www.chuibin.com 六维论文网 版权所有