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

📄 shownotice.jsp

📁 图书馆管理系统 能满足 查询
💻 JSP
字号:
<%@ page language="java" import="java.util.*" 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"%>
<%
	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 href="<%=basePath%>/css/style.css" rel="stylesheet">
		<link href="<%=basePath%>/css/main.css" rel="stylesheet">

	</head>

	<body>
		<form action="" name="showform" method="post">
			<div class="right">
				<div class="content">
					<p align="center">
						查看公告
					</p>
					<center>
					<marquee id=scrollarea onmouseover=this.stop();
						onmouseout=this.start(); scrollAmount=3 scrollDelay=100
						direction=up loop=-1>
						<logic:present name="notice">
							<logic:iterate id="n" name="notice" type="com.jxyd.vo.NoticeBean">
											主题:
                                          <%=n.getTitle() %><br>
											内容:
											<%=n.getContent() %><br>
											发布时间:
											<%=(n.getAddDate().substring(0,10)) %><br>
											发布人:图书馆<br>
										****************	<br>
							</logic:iterate>
						</logic:present>
					</marquee>
					</center>
				</div>
			</div>
		</form>
	</body>
</html>

⌨️ 快捷键说明

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