sort.jsp

来自「>项目名称:电脑电子商务平台 >1.运行环境JDK1.6+Orac」· JSP 代码 · 共 45 行

JSP
45
字号
<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'sort.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
  <table width="200" border="0" align="left" cellpadding="0" cellspacing="0">
      <tr>
        <td height="22" colspan="2"><div align="center"><strong>商品分类</strong></div></td>
      </tr>
	  <logic:iterate id="li" name="list">
      <tr>
        <td width="29" height="20">&nbsp;</td>
		
        <td width="171"> 
		<html:link action="/sortMain" paramId="sortid" paramName="li" paramProperty="id" target="mainFrame"><bean:write name="li"        property="name"/></html:link>
		</td>
		 
      </tr>
	   </logic:iterate>
    </table>
  </body>
</html>

⌨️ 快捷键说明

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