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

📄 chekcorpinfor.jsp

📁 旅游自助管理系统 本系统基于struts1.2, tomcat5.5.17, mysql5.0, eclipse3.1, myeclipse5.1开发。 使用方法: 1、使用mys
💻 JSP
字号:
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ page import="java.util.*" %>

<%
	Vector corps = (Vector)request.getAttribute("corps");
	//test
	// corps.add(new String("haha"));corps.add(new String("xixi"));
%>

<table align="center" width="92%" cellspacing="3" border="0">
<%
	if(corps != null && corps.size() != 0){
%>
	<tr bgcolor="#6699CC">
		<th width="70%" align="center">
			<font size="2">公  司</font>
		</th>
		<th width="30%" align="center" colspan="2">
			<font size="2">操  作</font>
		</th>
	</tr>
<%
		for(int i = 0; i<corps.size(); i++){
%>
	<tr bgcolor="#6699CC">
		<td>
			<center><%= corps.get(i) %></center>
		</td>
		<td width="15%" align="center">
			<a href="<%= request.getContextPath() %>/display/corp?unique=<%= corps.get(i) %>">
				<font size="2">查  看</font>
			</a>
		</td>
		<td width="15%" align="center">
			<a href="<%= request.getContextPath() %>/delete/corp?unique=<%= corps.get(i) %>">
				<font size="2">取消注册</font>
			</a>
		</td>
	</tr>
<%
		}
	}else{
		out.println("<font size='2'>对不起,暂时没有公司注册</font>");
	}
%>
</table>

⌨️ 快捷键说明

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