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

📄 informationsearchlistright.jsp

📁 这个是完整的wap项目的源码 开发语言 Java 系统架构 Struts + hibernate + spring 数据库 Mysql5.0 应用服务器Tomcat5.0 开发工具 MyEc
💻 JSP
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>
<%@ page import="java.util.List"%>
<%@ page import="java.util.Iterator"%>
<%@ page import="com.longtime.wap.model.Information"%>
<%@ page import="com.longtime.wap.common.enums.CategoryEnum"%>
<%@ page import="com.longtime.wap.module.front.web.form.SearchInformationForm" %>
<%@ page import="com.longtime.wap.module.front.common.FrontConstant" %>
<%@ taglib uri="/page-tag" prefix="page"%>
<html:form action="searchInformation.do?method=searchInfo" styleId="searchInfoForm">
	<html:hidden property="searchValue"/>
	<table border="1" align="center" width="90%" class="TableFrontRightShow">
		<th>
			标题
		</th>
		<th>
			发布单位
		</th>
		<th>
			业务
		</th>
		<th>
			分类
		</th>
		<th>
			费用(单位:元)
		</th>
		<%List infos = (List) request.getAttribute(FrontConstant.INFORMATIONS_LIST);
			if (null != infos && infos.size() > 0) {
				Iterator it = infos.iterator();
				while (it.hasNext()) {
					Information info = (Information) it.next();

					%>
		<tr>
			<td>
				&nbsp;&nbsp;<a href="informationDetail.do?method=getInformation&id=<%=info.getInformationId()%>"><%=info.getTitle()%></a>
			</td>
			<td align="center">
				<%=info.getBusiness().getCp().getCompanyName()%>
			</td>
			<td align="center">
				<%=info.getBusiness().getBusinessName()%>
			</td>
			<td align="center">
				<%=CategoryEnum.getValue(
									info.getBusiness().getCategory())
									.toChinese()%>
			</td>
			<td align="center">
				<%=info.getPrice()%>
			</td>
		</tr>
		<%}
			}

		%>
		<tr>
			<td colspan="5">
				<page:page_tag formName="searchInfoForm" action="searchInformation.do?method=searchInfo" />
			</td>
		</tr>
	</table>
</html:form>

⌨️ 快捷键说明

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