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

📄 index.jsp

📁 我的智囊团,学习三种框架很好的源码包含分页.
💻 JSP
字号:
<%@ page contentType="text/html;charset=gbk"%>
<%@ page import="org.lxh.myzngt.util.*"%>
<%@ 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"%>
<html:html lang="true">
<head>
<title>MLDN —— 我的智囊团</title>
<META NAME="Generator"
	CONTENT="Struts + Spring + Hibernate + MySQL + Tomcat + CP">
<META NAME="Author" CONTENT="李兴华">
<META NAME="Keywords" CONTENT="智囊团,SSH,tomcat,mysql">
<META NAME="Description" CONTENT="MLDN旗下网站 —— www.zhinangtuan.net.cn">
</head>
<body>
<center><jsp:include flush="true" page="../inc/template.jsp">
	<jsp:param name="url" value="../" />
</jsp:include> <logic:present name="userid" scope="session">
	欢迎${userid}光临&nbsp;	
	<a href="user/index.htm">个人中心</a>
</logic:present>
<table border="1" width="100%">
	<tr>
		<td rowspan="4"><logic:present name="allitem" scope="request">
			<logic:iterate id="item" name="allitem" scope="request">
				<h3><a href="show.do?itemid=${item.itemid}&status=selectitem">${item.itemname}</a></h3>
				<logic:iterate id="sub" name="item" property="subitems">
					<h4>&nbsp;&nbsp;<a
						href="show.do?itemid=${item.itemid}&subid=${sub.subid}&status=selectsub">${sub.subname}</a></h4>
				</logic:iterate>
			</logic:iterate>
		</logic:present></td>
	</tr>
	<tr>
		<td><logic:present name="allcommen" scope="request">
			<table border="0" width="80%">
				<tr>
					<td>
					<h3>推荐的问题&nbsp;<a href="show.do?status=selectcommen&commen=1">更多</a></h3>
					</td>
				</tr>
				<logic:iterate id="ques" name="allcommen" scope="request">
					<tr>
						<td><a href="show.do?qid=${ques.qid}&status=selectid">${ques.title}</a>
						</td>
					</tr>
				</logic:iterate>
			</table>
		</logic:present></td>
	</tr>
	<tr>
		<td><logic:present name="status1" scope="request">
			<table border="0" width="80%">
				<tr>
					<td>
					<h3>待解决问题&nbsp;<a href="show.do?status=selectstatus&sta=2">更多</a></h3>
					</td>
				</tr>
				<logic:iterate id="ques" name="status1" scope="request">
					<tr>
						<td><a href="show.do?qid=${ques.qid}&status=selectid">${ques.title}</a>
						</td>
					</tr>
				</logic:iterate>
			</table>
		</logic:present></td>
	</tr>
	<tr>
		<td><logic:present name="status2" scope="request">
			<table border="0" width="80%">
				<tr>
					<td>
					<h3>已解决问题&nbsp;<a href="show.do?status=selectstatus&sta=1">更多</a></h3>
					</td>
				</tr>
				<logic:iterate id="ques" name="status2" scope="request">
					<tr>
						<td><a href="show.do?qid=${ques.qid}&status=selectid">${ques.title}</a>
						</td>
					</tr>
				</logic:iterate>
			</table>
		</logic:present></td>
	</tr>
</table>
</center>
</body>
</html:html>

⌨️ 快捷键说明

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