After tomcat is deployed, an error occurs when the foreground returns to the page
After tomcat is deployed, an error occurs when the foreground returns to the page Let's take a look at the details
enter image description here enter image description here
<div class="app" style="开发者_Python百科margin: 10px">
<label class="title">图书信息修改</label>
<sql:query dataSource="${snapshot}" var="bookre">
SELECT * from `books_type`;
</sql:query>
<form class="input-box" action="/BookUpdateProceServlet" method="get">
<%
String id = request.getParameter("id");
BookService bookService = new BookService();
Book book = bookService.queryBook(id);
out.print("<input type=\"text\" name=\"bookIdUpdate\" value=\"" + book.getBookId() + "\" style=\"display:none\" />");
out.print("<input type=\"text\" name=\"bookNameUpdate\" class=\"table-add-text form-control text-flag\" placeholder=\"图书名称\" value=\"" + book.getBookName() + "\"/>");
out.print("<input type=\"text\" name=\"bookAuthorUpdate\" class=\"table-add-text form-control text-flag\" placeholder=\"图书作者\" value=\"" + book.getBookAuthor() + "\"/>");
out.print("<input type=\"text\" name=\"bookPriceNameUpdate\" class=\"table-add-text form-control text-flag\" placeholder=\"图书价格\" value=\"" + book.getBookPrice() + "\"/>");
%>
An error occurred while modifying the data。 I hope he can run without errors, but I have been debugging for a long time without success
精彩评论