📄 test.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ include file="..\taglibs.jsp" %>
<%@page import = "java.util.*"%>
<%@page import = "model.hr.hibernate.*"%>
<%@page import = "model.asset.hibernate.*"%>
<%
request.setCharacterEncoding("gb2312");
List docList = (List)session.getAttribute("departmentlist");
%>
<html>
<head>
<title>Online Library</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body class="sub">
<%
for (int i=0; i<docList.size(); i++) {
Document doc = (Document)docList.get(i);
%>
<table width="90%" border="0" cellspacing="0" cellpadding="1" style="text-align: center">
<tr>
<td> <table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr class="HeaderColor">
<td width="100" colspan="2"><h3><%=doc.getName()%></h3></td>
</tr>
<tr>
<td width="10%" style="text-align: center; vertical-align: top">
<a href="#">
<img src="" width="100" height="100" border="0">
</a></td>
<td style="vertical-align: top">
<p class="StoryContentColor"><%=doc.getAbstract()%></p>
<p align="left"> <a href="#">More >></a></p>
</td>
</tr>
</table></td>
</tr>
</table>
<p> </p>
<table width="90%" border="0" cellspacing="0" cellpadding="4" style="text-align: center">
<tr>
<td width="50%" class="FooterColor"><a href="#">1</a>
• <a href="#">2</a> • <a href="#">3</a> • 4 •<a href="#">
5</a></td>
<td style="text-align: right" width="50%"><a href="#"><<
Previous</a> • <a href="#">Next >></a></td>
</tr>
</table>
<%
}
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -