---但“继续购物”这四个字怎么又有显示? <strong><a href="<%=request.getContextPath()%>/catalog.jsp">继续购物</a></strong>
<%
return;在return之前,当然可以显示---而“加入购物车”这5个字又怎么没显示?这个明显在return之后,当然没显示有什么问题?
<%
return;在return之前,当然可以显示---而“加入购物车”这5个字又怎么没显示?这个明显在return之后,当然没显示有什么问题?
楼主以后问问题能不能大点声!!!???
if book为null,则执行这么多代码:
<p>书号"<%=bookId%>"在数据库中不存在<p>
<strong><a href="<%=request.getContextPath()%>/catalog.jsp">继续购物</a></strong>
并且return;不执行下面地东东。
if book not null,不执行:
<p>书号"<%=bookId%>"在数据库中不存在<p>
<strong><a href="<%=request.getContextPath()%>/catalog.jsp">继续购物</a></strong>
执行return下面地代码。