forked from maxliaops/Java_Web_Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinfo_query.jsp
More file actions
58 lines (47 loc) · 2.02 KB
/
info_query.jsp
File metadata and controls
58 lines (47 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%@taglib prefix ="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<s:set name="userInfo" value="%{#session.userInfo}"/>
<link href="css/style.css" type="text/css" rel="stylesheet">
<script src="js/validate.JS" language="javascript" type="text/javascript"></script>
<title><s:property value="#userInfo.account"/>²©¿Í¿Õ¼ä</title>
</head>
<body>
<jsp:include page="blog_top.jsp" flush="true"/>
<table width="900" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="184" height="205" valign="top" background="images/b_l_3.gif"><jsp:include page="blog_left.jsp" flush="true"/></td>
<td align="center" valign="top">
<br>
<table width="502" border="0" cellspacing="0" cellpadding="0">
<s:iterator value="%{#request.list}" id="info">
<tr>
<td height="40"><s:property value="#info.info_fromAccount"/>:<s:property value="#info.info_content"/></td>
</tr>
</s:iterator>
</table>
<s:bean name="org.apache.struts2.util.Counter" id="counter">
<s:param name = "first" value="1"/>
<s:param name = "last" value="%{#request.maxPage}"/>
<s:iterator status="st" id="idd">
<s:a href="info_f_queryInfo.htm?count=%{idd}"><s:property/></s:a>
<s:if test="!#st.last">
</s:if>
</s:iterator>
</s:bean>
<br>
</td>
<td width="180" align="center" valign="top" background="images/b_r_2.gif"><jsp:include page="blog_right.jsp" flush="true"/></td>
</tr>
</table>
<jsp:include page="blog_down.jsp" flush="true"/>
</body>
</html>