</tr>
</table>
</s:form></td>
</tr>
</table>
<%@include file="footer.jsp"%>
</body>
</html>
2、添加图书的界面
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<%@include file="header.jsp"%>
<s:form action="Bookadd">
<s:hidden name="book.id"/>
<table width="759" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center"><table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="title">新增</td>
</tr>
<tr>
<td class="body"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20%" height="25">
<s:textfield
name="book.bookName"
label="
书
名
"
cssClass="login"></s:textfield></td>
</tr>
<tr>
<td width="20%" height="25"><s:textfield name="book.writer" label=" 作 者 "
cssClass="login"></s:textfield></td>
</tr>
<tr>
<td width="20%" height="25"><s:textfield name="book.publisher" label=" 出 版 社 "
cssClass="login"></s:textfield></td>