61,115
社区成员
发帖
与我相关
我的任务
分享
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
这段删除!
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<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="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
<style type="text/css">
body {
background: url(image/projectBG.jpg);
}
.head {
margin-top: 50px;
text-align: center;
font-size: 24px;
color: #FF9933;
}
.head pre {
font-weight: 900;
}
.blog {
text-align: center;
margin-top: 100px;
}
.blog a {
color: red;
font-size: 20px;
}
</style>
</head>
<body>
<div class="head">
<pre style="font-weight:900">${project}栏目</pre>
</div>
<div class="blog">
<table border="1" align="center">
<c:forEach items="${requestScope.list }" var="user">
<tr>
<td width="800"><a href="MessageServlet?status=PtoM&title=${user.title }" style="text-decoration:none">${user.title }</a></td>
</tr>
</c:forEach>
</table>
</div>
<c:set var="currentPage" value="${currentPage }"/>
<c:set var="cotalPage" value="${countPage }"/>
<c:set var="cctionUrl" value="MessageServlet?status=ProjectBlog&project=${project }"/>
<c:set var="urlParas" value="" />
<!-- <%@ include file="pagination.jsp"%> -->
<%@ include file="/admin/pagination.jsp"%>
</body>
</html>