📄 deptlist.jsp
字号:
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Captain Fresh Seafood Supermarket : Welcome</title>
</head>
<BODY bgColor=#FFFFCC leftMargin=0 topMargin=0 rightMargin=0
MARGINHEIGHT="0" MARGINWIDTH="0">
<center>
<TABLE cellSpacing=0 cellPadding=0 width=750 border=0>
<TBODY>
<TR>
<TD width=172>
<IMG alt="Captain Fresh Seafood Supermarket"
src="images/home_top_left.jpg" border=0 width="180" height="62">
</TD>
<TD width=253>
<IMG height=62 alt="Captain Fresh Seafood Supermarket"
src="images/home_top_mid.jpg" width=303 border=0>
</TD>
<TD width=225>
<IMG alt="Captain Fresh Seafood Supermarket"
src="images1/home_top_right.jpg" border=0 width="264"
height="61">
</TD>
</TR>
</TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=750
background="images/top_band.gif" border=0>
<TBODY>
<TR>
<TD align=right height=25>
<FONT face=Verdana,Arial,Helvetica size=1>
${currentDate.date } </FONT>
</TD>
</TR>
</TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=748 border=0 height="742">
<TBODY>
<TR>
<TD vAlign=middle width=181 height="41" bgcolor="#FDCC64"
bordercolor="#993333" bordercolorlight="#800000">
<p align="left">
<b><font color="#993333"> <a href="IncomeListServlet">Income
management</a></font> </b>
</TD>
<TD vAlign=top width=565 height="288" rowspan="7">
<div align="center">
<center>
<table border="1" width="90%" bordercolor="#800000">
<tr>
<td width="40%" align="center" bgcolor="#FDCC64">
<b><font color="#993333">Department Name</font>
</b>
</td>
<td width="40%" align="center" bgcolor="#FDCC64">
<b><font color="#993333">Description</font>
</b>
</td>
<td width="20%" align="center" bgcolor="#FDCC64">
<b><font color="#993333">Update</font>
</b>
</td>
</tr>
<c:forEach var="d" items="${deptList }" >
<tr>
<td width="33%" align="center">
<font color="#993333">${d.deptName }</font>
</td>
<td width="33%" align="center">
<font color="#993333">${d.deptDescription }</font>
</td>
<td width="34%" align="center">
<a href="deptUpdate.jsp?id=${d.deptId }&name=${d.deptName }&desc=${d.deptDescription }">
<img border="0" src="images1/depart1.gif" width="43"
height="23">
</a>
</td>
</tr>
</c:forEach>
</table>
</center>
</div>
<table align="center" border="0" width="80%"
bordercolor="#800000">
<TR>
<TD vAlign=bottom width=746 height="34" colspan="2">
<form method="POST" action="deptAdd.jsp">
<p align="center">
<input type="submit" value="Add Department "
style="color: #800000; font-weight: bold; background-color: #FDCC64">
</p>
</form>
<p>
</TD>
</TR>
</table>
</TD>
</TR>
<TR>
<TD vAlign=middle width=181 height="41" bgcolor="#FDCC64"
bordercolor="#993333" bordercolorlight="#800000">
<p align="left">
<b><font color="#993333"> <a
href="DeptListServlet">Dept management</a>
</font> </b>
</TD>
</TR>
<TR>
<TD vAlign=middle width=181 height="42" bgcolor="#FDCC64"
bordercolor="#993333" bordercolorlight="#800000">
<p align="left">
<b><font color="#993333"> <a href="report.jsp">Report
management</a></font> </b>
</TD>
</TR>
<TR>
<TD vAlign=middle width=181 height="42" bgcolor="#FDCC64"
bordercolor="#993333" bordercolorlight="#800000">
<p align="left">
<b><font color="#993333"> </font>
</b><b><font color="#993333"><a href="backup.jsp">Backup</a></font>
</b>
</TD>
</TR>
<TR>
<TD vAlign=middle width=181 height="42" bgcolor="#FDCC64"
bordercolor="#993333" bordercolorlight="#800000">
<p align="left">
<b><font color="#993333"> <a href="changePwd.jsp">Change password</a></font>
</b>
</TD>
</TR>
<TR>
<TD vAlign=middle width=181 height="42" bgcolor="#FDCC64"
bordercolor="#993333" bordercolorlight="#800000">
<p align="left">
<b><font color="#993333"> <a
href="<%=request.getContextPath()%>/logout.jsp">Exit</a>
</font> </b>
</TD>
</TR>
<TR>
<TD vAlign=middle width=181 height="42" bgcolor="#FDCC64"
bordercolor="#993333" bordercolorlight="#800000">
<p align="left">
<b><font color="#993333"> </font> </b>
</TD>
</TR>
<TR>
<TD vAlign=bottom width=746 height="74" colspan="2">
</TD>
</TR>
<TR>
<TD vAlign=bottom width=746 height="122" colspan="2">
<p>
<IMG height=24 alt="Captain Fresh Seafood Supermarket"
src="images1/home_bot_right.jpg" width=742 border=0>
</p>
</TD>
</TR>
<TR>
<TD vAlign=top align=middle height="380" width="746" colspan="2">
<IMG height=1 alt="" src="images/dot_clear.gif" width=1 border=0>
<BR>
<FONT face=Verdana,Arial,Helvetica size=1>copyright ©2008
Captain Fresh Seafood Supermarket<BR>designed and
programmed by <a href="http://www.yiboit.com/" target="_blank">yiboit</a>
</FONT>
</TD>
</TR>
</TBODY>
</TABLE>
</center>
</BODY>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -