?? shownotice.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 + -