<!-- Standard Struts Entries -->

<%@ page language="java" contentType="text/html;charset=utf-8" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

<html:html locale="true">

<!-- Make sure window is not in a frame -->

<script language="JavaScript" type="text/javascript">

  <!--
    if (window.self != window.top) {
      window.open(".", "_top");
    }
  // -->

</script>

<!-- Standard Content -->

<%@ include file="header.jsp" %>

<!-- Body -->

<body background="images/LoginBackgroundTile.gif">

<center>

<!-- Login -->

<form method="POST" action='<%= response.encodeURL("j_security_check") %>'
 name="loginForm">
  <table border="0" cellspacing="5" background="images/LoginBackgroundTile.gif">

    <tr>
    <!-- banner -->
     <td height="183">
        <div align="center"><img src="images/Login.jpg" alt="Tomcat Web Server Administration Tool" width="490" height="228"></div>
      </td>
    </tr>

    <!-- username password prompts fields layout -->
    <tr>
    <td background="images/LoginBackgroundTile.gif">
     <table width="100%" border="0" cellspacing="2" cellpadding="5">
     <tr>
      <th align="right">
        <font color="#FFFFFF"><label for="username"><bean:message key="prompt.username"/></label></font>
      </th>
      <td align="left">
        <input type="text" name="j_username" size="16" id="username"/>
      </td>
    </tr>
    <p>
    <tr>
      <th align="right">
        <font color="#FFFFFF"><label for="password"><bean:message key="prompt.password"/></label></font>
      </th>
      <td align="left">
        <input type="password" name="j_password" size="16" id="password"/>
      </td>
    </tr>

    <tr>
      <td width="50%" valign="top"> <div align="right"></div> </td>
      <td width="55%" valign="top">&nbsp;</td>
     </tr>

    <!-- login reset buttons layout -->
    <tr>
       <td width="50%" valign="top">
            <div align="right">
               <input type="submit" value='<bean:message key="button.login"/>'>&nbsp;&nbsp;
            </div>
       </td>
       <td width="55%" valign="top">
          &nbsp;&nbsp;<input type="reset" value='<bean:message key="button.reset"/>'>
       </td>
     </tr>
  </table>
  <p> &nbsp;
  </td>
  </tr>
 </table>
</form>

<script language="JavaScript" type="text/javascript">
  <!--
    document.forms["loginForm"].elements["j_username"].focus()
  // -->
</script>

</body>

<!-- Standard Footer -->

<%@ include file="footer.jsp" %>

</html:html>
