board2.jsp
上传用户:sami52198
上传日期:2010-02-11
资源大小:5174k
文件大小:2k
源码类别:

电子政务应用

开发平台:

MultiPlatform

  1.         <tr> 
  2.           <td height="22" background="images/hydl3.jpg"><div align="center"><font size="2">产品分类</font></div></td>
  3.         </tr>
  4. <%
  5.     catlog_vct = shop.getCatalog();
  6.     
  7.     if(catlog_vct!=null&&catlog_vct.size()>0)
  8.      {
  9.          for(int i=0;i<catlog_vct.size();i++)
  10.           {
  11.           
  12.              Vector t_vct = (Vector)catlog_vct.get(i);
  13.              %>
  14.         <tr> 
  15.           <td height="1" background="images/hydl.jpg">
  16.            <font size="2">&nbsp;   
  17.           <img src="images/xtb.jpg" width="18" height="18">
  18.           <a href="catalog.jsp?boardParentID=<%=t_vct.get(0)%>"><%=t_vct.get(1)%></a>
  19.             </font>
  20.           </td>
  21.         </tr>             
  22.              <% 
  23.               
  24.               subcatlog_vct = shop.getSubCatalog(t_vct.get(0).toString());
  25.               if(subcatlog_vct!=null&&subcatlog_vct.size()>0)
  26.                {
  27.                       for(int j=0;j<subcatlog_vct.size();j++)
  28.                       {
  29.                       
  30.                       %>
  31.                       
  32.            <tr> 
  33.           <td height="1" background="images/hydl.jpg"><font color="#8F6A07" size="1">&nbsp;&nbsp; 
  34.             &nbsp;&nbsp;&nbsp;&nbsp;&gt; </font><font size="2">
  35.           <a href="goodslist.jsp?boardParentID=<%=((Vector)subcatlog_vct.get(j)).get(2)%>&boardID=<%=((Vector)subcatlog_vct.get(j)).get(0)%>"><%=((Vector)subcatlog_vct.get(j)).get(1)%></a>
  36.           </td>
  37.           </tr>     
  38.                       <%
  39.                       }
  40.               }
  41.               
  42.           }
  43.      }
  44. %>