⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 blog.jsp

📁 JSP_博客网站系统,功能完整。学习JSP的好资料。开发时采用Eclipse+MyEclipse结合Tomcat部署。
💻 JSP
字号:

<%@ page language="java" import="java.util.*,huc.blog.bean.*" pageEncoding="UTF-8"%>
<%@ page import="huc.blog.util.ParamUtils" %>
<%@ page import="huc.blog.util.DateUtils" %>
<%@ page import="java.util.Calendar" %>
<%String path = request.getContextPath();
			String basePath = request.getScheme() + "://"
					+ request.getServerName() + ":" + request.getServerPort()
					+ path + "/";
%>

<%
	User user = (User)ParamUtils.getObjectAttribute(request, "user", null);
%>
<!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">
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		
		<link rel="stylesheet" type="text/css" href="css/styles.css">

	</head>

	<body>
		<jsp:include page="common/header.jsp">
			<jsp:param name="userid" value="<%=user.getId()%>"/>
			<jsp:param name="spaceName" value="<%=user.getSpaceName()%>"/></jsp:include>
		
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#E4EDFB">
  <tr>
				<td width="650" valign="top">
					<%@ include file="./partblog.inc" %>
				</td>
			</tr>
		</table>
		<jsp:include page="common/footer.jsp" />
	</body>
</html>

⌨️ 快捷键说明

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