Enumeration e = session.getAttributeNames();
{
while(e.hasMoreElements())
{
%>
<tr>
<%
book = (String)e.nextElement();
if(book.equals("userid"))
{
continue;
}
String book_price = (String)session.getAttribute(book);
price_cast = Integer.parseInt(book_price);
%>
.
.
.
.
<td><input type="hidden" name="book_name" value=<%=book %> />
<td class="iron"><input type="submit" value="Update" /></td>
<% String str1 = request.getParameter("book_name");
out.println(str1);
%>
假设 book 的价值是“Stalked by Spirits”。然后在 book_name 中接收它,输出只是“Stalked”而不是“Stalked by Spirits”。请帮帮我。