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

📄 right.jsp

📁 这个是完整的wap项目的源码 开发语言 Java 系统架构 Struts + hibernate + spring 数据库 Mysql5.0 应用服务器Tomcat5.0 开发工具 MyEc
💻 JSP
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="java.util.List"%>
<%@ page import="com.longtime.wap.module.front.common.FrontConstant"%>
<%@ page import="com.longtime.wap.model.Business"%>
<%@ page import="com.longtime.wap.model.Information"%>
<table width="99%" border="1" class="TableFrontRightMain">
	<tr>
		<th>
			<table width="100%" border="0">
				<tr>
					<td width="15%">
						&nbsp;&nbsp;<strong>文字类</strong>
					</td>
					<td width="85%" align="right">
						<%List textBusinesses = (List) request
					.getAttribute(FrontConstant.TEXT_BUSINESSES);
			for (int i = 0; i < textBusinesses.size(); i++) {
				Business business = (Business) textBusinesses.get(i);

				%>
						<a href="listInformations.frame?method=listInformation&businessId=<%=business.getBusinessId()%>"><%=business.getBusinessName()%></a>&nbsp;|&nbsp;
						<%}

			%>
						<a href="listBusinesses.frame?method=listBusiness&categoryId=0"><img src="images/more.gif" width="53" height="15" border="0" align="absmiddle"></a>&nbsp;&nbsp;</a>
					</td>
				</tr>
			</table>
		</th>
	</tr>
	<tr>
		<td>
			<table width="100%" border="0">
				<%List textTopviewInfos = (List) request
					.getAttribute(FrontConstant.TEXT_TOPVIEW_INFOS);
			for (int i = 0; i < textTopviewInfos.size(); i++) {
				Information info = (Information) textTopviewInfos.get(i);

				%>
				<tr>
					<td height="25">
						&nbsp;&nbsp;·<a href="informationDetail.do?method=getInformation&id=<%=info.getInformationId()%>">&nbsp;<%=info.getTitle()%></a>
					</td>
					<td width="60" align="center">
						<%=info.getPayCount()%>
					</td>
				</tr>
				<%}

			%>
			</table>
		</td>
	</tr>
</table>
<table width="99%" border="1" class="TableFrontRightMain">
	<tr>
		<th>
			<table width="100%" border="0">
				<tr>
					<td width="15%">
						&nbsp;&nbsp;<strong>音乐类</strong>
					</td>
					<td width="85%" align="right">
						<%List MusicBusinesses = (List) request
					.getAttribute(FrontConstant.MUSIC_BUSINESSES);
			for (int i = 0; i < MusicBusinesses.size(); i++) {
				Business business = (Business) MusicBusinesses.get(i);

				%>
						<a href="listInformations.frame?method=listInformation&businessId=<%=business.getBusinessId()%>"><%=business.getBusinessName()%></a>&nbsp;|&nbsp;
						<%}

			%>
						<a href="listBusinesses.frame?method=listBusiness&categoryId=1"><img src="images/more.gif" width="53" height="15" border="0" align="absmiddle"></a>&nbsp;&nbsp;</a>
					</td>
				</tr>
			</table>
		</th>
	</tr>
	<tr>
		<td>
			<table width="100%" border="0">
				<%List musicTopviewInfos = (List) request
					.getAttribute(FrontConstant.MUSIC_TOPVIEW_INFOS);
			for (int i = 0; i < musicTopviewInfos.size(); i++) {
				Information info = (Information) musicTopviewInfos.get(i);

				%>
				<tr>
					<td height="25">
						&nbsp;&nbsp;·<a href="informationDetail.do?method=getInformation&id=<%=info.getInformationId()%>">&nbsp;<%=info.getTitle()%></a>
					</td>
					<td align="center" width="60">
						<%=info.getPayCount()%>
					</td>
				</tr>
				<%}

			%>
			</table>
		</td>
	</tr>
</table>
<table width="99%" border="1" class="TableFrontRightMain">
	<tr>
		<th>
			<table width="100%" border="0">
				<tr>
					<td width="15%">
						&nbsp;&nbsp;<strong>图片类</strong>
					</td>
					<td width="85%" align="right">
						<%List PicBusinesses = (List) request
					.getAttribute(FrontConstant.PIC_BUSINESSES);
			for (int i = 0; i < PicBusinesses.size(); i++) {
				Business business = (Business) PicBusinesses.get(i);

				%>
						<a href="listInformations.frame?method=listInformation&businessId=<%=business.getBusinessId()%>"><%=business.getBusinessName()%></a>&nbsp;|&nbsp;
						<%}

			%>
						<a href="listBusinesses.frame?method=listBusiness&categoryId=2"><img src="images/more.gif" width="53" height="15" border="0" align="absmiddle"></a>&nbsp;&nbsp;</a>
					</td>
				</tr>
			</table>
		</th>
	</tr>
	<tr>
		<td>
			<table width="100%" border="0">
				<%List picTopviewInfos = (List) request
					.getAttribute(FrontConstant.PIC_TOPVIEW_INFOS);
			for (int i = 0; i < picTopviewInfos.size(); i++) {
				Information info = (Information) picTopviewInfos.get(i);

				%>
				<tr>
					<td height="25">
						&nbsp;&nbsp;·<a href="informationDetail.do?method=getInformation&id=<%=info.getInformationId()%>">&nbsp;<%=info.getTitle()%></a>
					</td>
					<td align="center" width="60">
						<%=info.getPayCount()%>
					</td>
				</tr>
				<%}

		%>
			</table>
		</td>
	</tr>
</table>

⌨️ 快捷键说明

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