devdaily home | apple | java | perl | unix | directory | blog

<td> <input type=text name=loginname> </td> </tr> <tr> <td>Password: <td> <input type=password name=password> </td> </tr> <tr> <td colspan=2 align=center> <input type=submit value="Login!" name="Submit"> </td> </tr> </table> </form> <% } %> </center>
<p align="center">(c) 2001, Lim Song Jing</font> </tr> </table> <jsp:include page="../common/footer.jsp" flush="true" /> </body> </html>

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

<%@ include file="../common/common.jsp" %>
<%  response.setHeader("Cache-Control", "no-cache");
	response.setHeader("Pragma", "no-cahce");
%>
<html>
<head>
<title>Library Management System : Login
<META NAME="description" CONTENT="">
<META NAME="keywords" CONTENT="">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
   A:link                  { text-decoration:  none; font-weight: bold; color: #660033}
   A:active                { text-decoration:  none; font-weight: bold; color: #660033}
   A:visited               { text-decoration:  none; font-weight: bold; color: #336699}
   A:hover                 { text-decoration:  underline; font-weight: bold; color: #FF9999}
.footerLink {  font-family: Arial, Helvetica, sans-serif; font-size: 9pt; font-weight: bold; color: #000099}
-->
</style>
</head>

<body bgcolor="#0099ff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="">
<a name="top"> 
<%@ include file="../common/header_select.jsp" %>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr bgcolor="#f1f1f1"> 
    <td width="180" align="left" valign="top"> 
	  <%@ include file = "../common/navi.jsp" %>
    </td>
        <TD width=1 bgColor=#999999>
    <td valign="top" width="100%" bgcolor="#f1f1f1">
<% // Checking either had login or not, if not then display login menu if (login.isUserLogin()) { %> <% out.println("Hey... U already login as: <% out.println("So... wanna to logout?"); %> <form name="frmLogout" action="/JavaLibrary/servlet/sjservlets.LogoutProcess" method="post""> <input type="submit" name="Submit" value="Logout"> </form> <% } else { %> <form name=login action="/JavaLibrary/servlet/sjservlets.LoginProcess" method="post"> <p>

<table width=225 border=0 cellpadding=3> <tr> <td colspan=2> <center> <font size="+2">Login </center> </td> </tr> <tr> <td>Username:




Copyright 1998-2008 Alvin Alexander
All Rights Reserved.
 
devdaily.com is based in louisville, kentucky, and this web site is hosted by godaddy.com