You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.4 KiB

<%@ page language="java" import="com.ace.shopping.beans.*,java.util.*" pageEncoding="gbk"%>
<%
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>My JSP 'T_board' starting page</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">
-->
</head>
<body background="images/huang.jpg">
½ñÈÕ¹«¸æ£º
<marquee direction="up" onmouseover="this.stop()" onMouseOut="this.start()" behavior="scroll">
<table>
<%
List<T_board> list = (List<T_board>) request.getSession().getAttribute("list");
for(T_board e:list)
{
%>
<tr><td width="150px" ><font color="red">&nbsp;&nbsp;&nbsp;<%=e.getB_Content() %></font></td></tr>
<tr><td ><font color="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%=e.getB_Posttime() %></font></td></tr>
<tr><td>&nbsp;</td></tr>
<%
}
%>
</table>
</marquee>
</body>
</html>