📄 j2me_res.jsp
字号:
<%@ page language="java" contentType="text/html; charset=GBK" import="java.util.*"
pageEncoding="GBK"%>
<%@taglib prefix="bean" uri="http://struts.apache.org/tags-bean" %>
<%@taglib prefix="logic" uri="http://struts.apache.org/tags-logic" %>
<%@taglib prefix="html" uri="http://struts.apache.org/tags-html" %>
<%@page import="cfq.hibernate.vo.Resource;"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title>j2me资源</title>
<script type="text/javascript">
function openwin(){
window.open("/ssh/jsp/res/openwindow.jsp","newwindow","height=150,width=300,top=280,left=300,toolbar =no,menubar=no,scrollbars=no,resizable=no,location=no,status=no");
}
</script>
</head>
<body>
<h2 align="center">J2ME资源列表</h2>
<br>
<hr>
<br>
<table width="80%" border="8" align="center" >
<tr bgcolor="#006600">
<td> 资源名: </td>
<td> 资源描述: </td>
<td>下载次数: </td>
<td> 所得评分: </td>
<td>上传时间: </td>
<td colspan="2" align="center">操作
</td>
</tr>
<logic:present name="res" scope="request">
<logic:iterate id="re" name="res" scope="request">
<tr bgcolor="gray">
<td> <bean:write name="re" property="resname"/></td>
<td> <bean:write name="re" property="resdescp"/> </td>
<td><bean:write name="re" property="dlcount"/> </td>
<td><bean:write name="re" property="resworth"/> </td>
<td><bean:write name="re" property="uploaddate"/> </td>
<td>
<a href="dl.do?type=downLoad&resid=<bean:write name="re" property="resid"/>&resname=<bean:write name="re" property="resname"/>">下载</a>
</td>
<td><a href="#?resname%<bean:write name="re" property="resname"/>" onclick="openwin()">评分</a> </td>
</tr>
</logic:iterate>
</logic:present>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -