<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>图书信息插入</title>
</head>
<body>
    <h2>图书信息录入</h2>
    <form action="BookInsertServlet" method="post">
        书号：<input type="text" name="bookid" value="111"><br>
        书名：<input type="text" name="title" value="Java Web编程技术"><br>
        作者：<input type="text" name="author" value="沈泽刚"><br>
        出版社：<input type="text" name="publisher" value="清华大学出版社"><br>
        单价：<input type="text" name="price" value="39.00"><br>
        <input type="submit" value="提交">
    </form>
    
    <%-- 显示操作结果 --%>
    <% 
    String result = (String)request.getAttribute("result");
    if(result != null) {
        out.println("<p>" + result + "</p>");
    }
    %>
</body>
</html>
