relatedlinks.jsp
来自「实现一个网络购物」· JSP 代码 · 共 43 行
JSP
43 行
<table>
<tr>
<td> <%@include file="../includes/shoppingcartlink.jsp" %></td>
</tr>
<tr>
<td height="10"><img src="media/spacer.gif" height="10" width="180" border="0" alt=""></td>
</tr>
<tr>
<td><%@include file="../includes/searchlink.jsp" %></td>
</tr>
<mm:present referid="products_template">
<tr>
<td height="10"><img src="media/spacer.gif" height="10" width="180" border="0" alt=""></td>
</tr>
<tr>
<td>
<%
if(!productId.equals("-1")) {
%><%@include file="../includes/poolnav.jsp" %><%
} else {
boolean hasExtraInfo = false;
%><mm:list nodes="<%= productId %>" path="products,posrel,images"
constraints="posrel.pos > 1" max="1"
><% hasExtraInfo = true;
%></mm:list><%
if(!hasExtraInfo) {
%><mm:list nodes="<%= productId %>" path="products,posrel,attachments" max="1"
><% hasExtraInfo = true;
%></mm:list><%
}
if(!hasExtraInfo) {
%><mm:list nodes="<%= productId %>" path="products,posrel,articles" max="1"
><% hasExtraInfo = true;
%></mm:list><%
}
if(hasExtraInfo) {
%><%@include file="../includes/productnav.jsp" %><%
}
} %>
</td>
</tr>
</mm:present>
</table>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?