📄 list.jsp
字号:
<%@ page language="java" pageEncoding="utf-8"%>
<%@ 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" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
<title>青鸟搜藏</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=content-type content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="styles.css">
<script type="text/javascript">
function add(){
window.open ('fav.do?op=toAdd', 'newwindow',
'height=300, width=400, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no');
}
</script>
</head>
<body>
<html:form action="/fav" method="post">
<input type="hidden" name="op" value="toList" />
<div class="banner" valign="top">
<img src="images/logo.gif"></img> 青鸟搜藏
</div>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td style="text-align:right;" valign="top">
<!-- 左边Tag列表 -->
<div class="left_labels" >
<bean:define id="type" name="type" scope="request"></bean:define>
<table class="labels_table" cellspacing="0" cellpadding="0" border="0">
<tr><td><a href="#" onclick="add();" style="font-weight:bold;">添加书签</a></td></tr>
<tr>
<td <%=("-1".equals(type))?"class=\"selected_label\"":""%>>
<a href="fav.do?op=toList&type=-1">全部</a>
</td>
</tr>
<tr>
<td <%=("0".equals(type))?"class=\"selected_label\"":""%>>
<a href="fav.do?op=toList&type=0">未分类</a>
</td>
</tr>
<logic:iterate id="tag" name="tagList">
<logic:equal name="tag" property="name" value="${type}">
<tr><td class="selected_label"><a href="fav.do?op=toList&type=${tag.id }">${tag.name }</a></td></tr>
</logic:equal>
<logic:notEqual name="tag" property="name" value="${type}">
<tr><td><a href="fav.do?op=toList&type=${tag.name}">${tag.name }</a></td></tr>
</logic:notEqual>
</logic:iterate>
<tr>
<td>
<a style="font-weight:bold;" href="fav.do?op=toCloud">云图</a>
</td>
</tr>
</table>
</div>
</td>
<td>
<!-- 右边fav内容 -->
<div class="content_links">
<logic:iterate id="url" name="urlList">
<div style="padding:6px 10px;">
<div>
<a href="${url.url }" style="color:blue;font-size:18px;" target="_blank">${url.label }</a>
</div>
<div style="color:black;font-size:16px;">
${url.desc }
</div>
<div style="color:green;font-size:14px;">
${url.url }
</div>
</div>
</logic:iterate>
</div>
</td>
</tr>
</table>
<div style="text-align:right;font-size:14px;width:600px;padding-top:3px;">
© 2007 北京阿博泰克北大青鸟信息技术有限公司
</div>
</html:form>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -