⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 featureditems.inc

📁 一个Struts写的网上购物系统,是一个不错的实例.
💻 INC
字号:
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<table width="645" border="0" cellpadding="0" cellspacing="0">
 <!-- Feature Item Images -->
 <tr>
 <!-- Spacer for seperation -->
 <td width="10"><img src="images/spacer.gif" border="0" height="1" width="10" alt=""></td>
 
<logic:iterate id="item" name="FeaturedItemsKey">  
 <td width="104" align="center">
  <html:link page="/action/viewitemdetail" paramId="id" paramName="item" paramProperty="id">
    <img border="0" src="<bean:write name="item" property="smallImageURL"/>"/>
  </html:link>
 </td> 
 </logic:iterate>
 
 </tr>
</table>

<img src="images/spacer.gif" border="0" height="10" width="" alt=""><br>
<table width="645" border="0" cellpadding="0" cellspacing="0" >
 <!-- PRODUCT DESCRIPTION ROW -->
 
 <tr>
 
 <logic:iterate id="item" name="FeaturedItemsKey"> 
 
 <td width="21"><img src="images/spacer.gif" border="0" height="1" width="21" alt=""></td>
 <td width="97" valign="top">
   <b>
   <html:link page="/action/viewitemdetail" paramId="id" paramName="item" paramProperty="id">
      <bean:write name="item" property="name"/>
  </html:link>
   
   </b><br><br>
   <b><bean:message key="featureditems.inc.price"/>$<bean:write name="item" format="#,##0.00" property="unitPrice"/></b><br>
   <bean:write name="item" property="description"/><br>			
 </td>
 <td width="1" bgcolor="#999999"><img src="images/spacer.gif" border="0" height="1" width="1" alt=""></td>
  </logic:iterate>
  
  <td width="6"><img src="images/spacer.gif" border="0" height="1" width="6" alt=""></td>
  
  
 </tr>
 
<tr>
 <td width="21"><img src="images/spacer.gif" border="0" height="1" width="21" alt=""></td>
 <td width="97" valign="top"><br>   
   <img src="images/spacer.gif" align="left" border="0" height="10" width="3" alt="">
  
   <br>
   <img src="images/spacer.gif" border="0" height="1" width="1" alt="">        
 </td>

 <td width="1" bgcolor="#999999"><img src="images/spacer.gif" border="0" height="1" width="1" alt=""></td>
 <td width="6"><img src="images/spacer.gif" border="0" height="1" width="6" alt=""></td>
 <td width="97" valign="top"><br>   
   <img src="images/spacer.gif" align="left" border="0" height="10" width="3" alt="">
   <br>
   <img src="images/spacer.gif" border="0" height="1" width="1" alt="">
 </td>

 <td width="1" bgcolor="#999999"><img src="images/spacer.gif" border="0" height="1" width="1" alt=""></td>
 <td width="6"><img src="images/spacer.gif" border="0" height="1" width="6" alt=""></td>
 <td width="97" valign="top"><br>   
   <img src="images/spacer.gif" align="left" border="0" height="10" width="3" alt="">
   <br>
   <img src="images/spacer.gif" border="0" height="1" width="1" alt="">
 </td>

 <td width="1" bgcolor="#999999"><img src="images/spacer.gif" border="0" height="1" width="1" alt=""></td>
 <td width="6"><img src="images/spacer.gif" border="0" height="1" width="6" alt=""></td>
 <td width="97" valign="top"><br>   
   <img src="images/spacer.gif" align="left" border="0" height="10" width="3" alt="">
   <br>
   <img src="images/spacer.gif" border="0" height="1" width="1" alt="">
 </td>

 <td width="1" bgcolor="#999999"><img src="images/spacer.gif" border="0" height="1" width="1" alt=""></td>
 <td width="6"><img src="images/spacer.gif" border="0" height="1" width="6" alt=""></td>
 <td width="97" valign="top"><br>   
   <img src="images/spacer.gif" align="left" border="0" height="10" width="3" alt="">
   <br>
   <img src="images/spacer.gif" border="0" height="1" width="1" alt="">
 </td>

 <td width="1" bgcolor="#999999"><img src="images/spacer.gif" border="0" height="1" width="1" alt=""></td>
 <td width="6"><img src="images/spacer.gif" border="0" height="1" width="6" alt=""></td>
 <td width="97" valign="top"><br>   
   <img src="images/spacer.gif" align="left" border="0" height="10" width="3" alt="">
   <br>
   <img src="images/spacer.gif" border="0" height="1" width="1" alt="">
 </td>
</tr>
</table>
</td>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -