📄 content_memo.jsp
字号:
<%@ page contentType="text/html; charset=GBK"%>
<%
String jspURL = request.getRequestURI();
if(jspURL.indexOf("jsp")!=-1)
jspURL = jspURL.substring(jspURL.indexOf("jsp")-1);
if(jspURL.indexOf("?")!=-1)
jspURL = jspURL.substring(0,jspURL.indexOf("?")-1);
%>
<!-- 个人备忘录查看页面 <%=jspURL%> edited by Ray 2005-11-17 -->
<%@ page import="java.text.*" %>
<%@ page import="java.util.*" %>
<%@ page import="com.icss.cnpc.netoffice.memo.vo.*" %>
<html xmlns="http:/www.w3.org/1999/xhtml">
<head>
<title>备忘录 </title>
<SCRIPT language=JavaScript>
<!--
/-->
</SCRIPT>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css">
</head>
<body background="<%=request.getContextPath()%>/images/grid.gif" marginwidth="0"
marginheight="0">
<br />
<form name="formmemo" action='' method='POST'>
<%
OfficeMemoVO vo=(OfficeMemoVO)request.getAttribute("vo");
Long date1=vo.getMemoTime();
long date2=date1.longValue();
// out.println(date2%(24*3600*1000));
Date date=new Date(date2);
SimpleDateFormat formatter = new SimpleDateFormat("yyyy.MM.dd ' 'HH:mm ");
String formatTime = formatter.format(date);
//int year=date.getYear()+1900;
//int month=date.getMonth()+1;
//int day=date.getDate();
String cont=vo.getMemoContent();
%>
<table width="75%" align="center" cellpadding="0" cellspacing="0" bordercolordark="#DFDFFF" bordercolorlight="#003366" bgcolor="#EEF4FF" border="1">
<tr>
<td align="center" bgcolor="#a6d0f2" height="24" colspan="2">备忘录</td>
</tr>
<tr>
<td width="100%"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr bgcolor="#D8EAF8">
<td width="50%" height="22" bgcolor="#EEF4FF"> 时间:<%=formatTime%></td>
<td height="22" bgcolor="#EEF4FF"> </td>
</tr>
<tr>
<td background="<%=request.getContextPath()%>/images/bg-13.gif" class="text-01" height="1" colspan="2"></td>
</tr>
<tr>
<td height="22" bgcolor="#EEF4FF"> 主题:<%=vo.getMemoHeadline()%></td>
<td width="50%" bgcolor="#EEF4FF"> </td>
</tr>
<tr>
<td background="<%=request.getContextPath()%>/images/bg-13.gif" class="text-01" height="1" colspan="2"></td>
</tr>
<tr valign="top" bgcolor="#EEF4FF">
<td height=150 colspan="2" align=left><div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="8">
<tr>
<td class="unnamed1"><%=cont%></td>
</tr>
</table>
</div></td>
</tr>
</table> </td>
</tr>
</table>
<br>
<br>
<center>
<img src="<%=request.getContextPath()%>/images/return.gif" onclick="location.href='javascript:history.go(-1)'" style="cursor:hand">
</center>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -