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

📄 sysuser.jsp

📁 一套购物车项目。电子商务系统。实现了前台和后台的业务逻辑。
💻 JSP
字号:

<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
	<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
 	<title>系统用户管理</title>
	<link href="<%=path%>/css/css.css" type="text/css" rel="stylesheet" />     
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
  </head>  	 	
  <body>
    <tr>
  	<a  class="head" >系统用户列表</a><br>
  	</tr>
	<br>
	<table width=100% border=0 class="mytable">
		<tr class="tableHead">
			<td>用户姓名</td>
			<td>登录名</td>
			<td>地址</td>
			<td>电子邮箱</td>
			<td>操作[<a href="${pageContext.request.contextPath}/sysUserManager?task=add">添加</a>]</td>			
		</tr>		
		<c:forEach var="reguser" items="${requestScope.sysUserList}">
			<tr >
				<td align ="center" >${reguser.truename}</td>
				<td>${reguser.username}</td>
				<td>${reguser.useraddress}</td>
				<td>${reguser.useremail}</td>
				<c:if test="${reguser.userid==1}">
					<td align ="center" >					
					<a>无权限操作</a>			
					</td>
				</c:if>
				<c:if test="${reguser.userid!=1}">
				<td align ="center" >					
					<c:if test="${reguser.userid!=sessionScope.adminuser.userid}">					
					<a href="${pageContext.request.contextPath}/sysUserManager?task=del&userid=${reguser.userid}" onclick="return confirm('确定删除吗?')">删除</a>
					</c:if>					
					&nbsp;&nbsp;					
					<a href="${pageContext.request.contextPath}/sysUserManager?task=edit&userid=${reguser.userid}">修改</a>					
				</td>
				</c:if>
			</tr>
		</c:forEach>
	</table>
${mpage.pageBar}  
  </body>
</html>

⌨️ 快捷键说明

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