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

📄 browse.jsp

📁 JPetStore源码
💻 JSP
字号:
<%@ include file="../struts/IncludeTop.jsp" %>
<%@ page contentType="text/html" pageEncoding="windows-31J"%>
<%@ taglib prefix="html" uri="http://jakarta.apache.org/struts/tags-html" %>
<html:form action="/shop/fishBrowse.do">
<p>
<center>
  <h2>FISH</h2>
  </center>

<table cellpadding=10 cellspacing=0 align=center border=1 bgcolor="#dddddd">
  <tr>  
  <td width="135"><b>Product ID</b></td>  
  <td width="258"><b>Name</b></td>  
  <td width="220"><b>Action</b></td>  
  </tr>
<c:forEach var="product" items="${productList.pageList}">
  <tr bgcolor="#dddddd">
  <td ><b>
	  <font color="BLACK">
	  <c:out value="${product.productId}" default = '丂'/></font>
	  
	</a></b></td>
  <td><c:out value="${product.name}" default = '丂'/></td>
  <td>
  	<input type="button"  value="徻嵶"   style="width:65"
	onClick="window.location.href('<c:url value="/shop/fishDetail.do">
		<c:param name="productId" value="${product.productId}"/></c:url>')" />
   &nbsp;
     	<input type="button"  value="曄峏"   style="width:65"
	onClick="window.location.href('<c:url value="/shop/fishModify.do">
		<c:param name="productId" value="${product.productId}"/></c:url>')" />
   &nbsp;
        	<input type="button"  value="嶍彍"   style="width:65"
	onClick="window.location.href('<c:url value="/shop/fishBrowse.do">
		<c:param name="productId" value="${product.productId}"/></c:url>')" />
  </td>
  </tr>
</c:forEach>
  <tr><td>
<c:if test="${!productList.firstPage}">
    <html:link  action="/shop/fishBrowse.do?page=previous"><font color=#0000FF><B>&lt;&lt; 慜暸</B></font></html:link>
  </c:if>
  <c:if test="${!productList.lastPage}">
    <html:link  action="/shop/fishBrowse.do?page=next"><font color=#0000FF><B>屻暸 &gt;&gt;</B></font></html:link>
  </c:if>
  </td>
    <td height="53" colspan="10" align="center">
      <div align="center">
	  <input type="button"   style="width:65"   value="怴婯" onclick="window.location.href('fishNew.do?categoryId=fishNewId')"/>
	  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	  <input type="button"   style="width:65"   value="曉傞" onclick="window.location.href('index.do')"/>
      </div>    
  	</td>
  </tr>
</table>


</html:form>

<%@ include file="../struts/IncludeBottom.jsp" %>

⌨️ 快捷键说明

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