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

📄 cpbusinesslistright.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="com.longtime.wap.model.*" %>
<%@ taglib uri="/page-tag" prefix="page"%>

<html:form action="/cpBusinessList.do?method=saveCpBusiness" styleId="cpListForm">
	<table width="98%" border="0" class="TableBack">
			<th colspan="3" align="left">时效管理</th>
		  <tr>		
			<td colspan="3">
				<table width="100%" border="0" class="TableBack">
				  <tr>
				  <%
				  	Cp cp = (Cp)request.getAttribute("cp");
				  	String cpName = cp.getCompanyName();
				  %>
					<td colspan="3" align="left"><strong>&nbsp;&nbsp;操作的cp单位:<%=cpName%></strong></td>
				  </tr>
				  <logic:notEmpty name="wap_global_messages" scope="request">
				  <tr>
				  	<td colspan="3" align="center">
						<logic:iterate id="message" name="wap_global_messages" scope="request">
								<center>
									<font color="red">
										<li>
											<bean:write name="message" />
										</li>
									</font>
								</center>
							</logic:iterate>
							<br>
							<br>
						</td>
					</tr>
					</logic:notEmpty>
				  
				  <%
				  	List businessList = (List)request.getAttribute("businessList");
				  	Business business = new Business();
				  	for (int i = 0; i<businessList.size(); i++) {
				  		business= (Business)businessList.get(i);
				  		long businessId = business.getBusinessId();
				  		String businessName = business.getBusinessName();
				  		int duration = business.getDuration();
				  	%>
				  	<tr>
				  	<%
				  		if(i == businessList.size()/2) {
				  		%>
				  		<td align="right">&nbsp;&nbsp;&nbsp;&nbsp;栏目:</td>
				  		<%
				  		} else {
				  		%>
				  		<td>&nbsp;</td>
				  		<%
				  		}
				  	%>
					 <input type="hidden" id="businessIds" name = "businessIds" value="<%=businessId%>"/>
					  <td align="center"><%=businessName%></td>
					  <td><input size="5" type="text" value="<%=duration%>" id="durations" name="durations" >&nbsp;天</td>
				    </tr>
				  	<%
				  	
				  	}
				  %>		
				  		 
				</table>
			</td>
		  </tr>
		  <tr>
			<td class="tborder"></td>		
			<td align="center">
				<br>
				<input type="submit" value="保存" >&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="reset" value="重置" >&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="button" value="返回" onClick="formSubmit('cpListForm', 'module/business/cpList.do?method=listCp')">
			</td>						
			<td class="tborder"></td>
		  </tr>
		  <tr>
		  	<td colspan="3" class="tborder"></td>
		  </tr>
		</table>
</html:form>

⌨️ 快捷键说明

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