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

📄 userlist.jsp

📁 eclipse+struts+sqlserver 简单图书管理系统,内有文档
💻 JSP
字号:
<%@ page language="java" pageEncoding="utf-8"%>
<%@ include file="/common/taglibs.jsp" %>
<html:html> 
	<head>
		<title>管理用户列表-booklist.jsp</title>
		<script type="text/javascript">
      function showContent(url)
		{
			parent.mainFrame.location.href = url;
		}
    </script>
	</head>
	<body>
	
	  <table width="800" border="0" cellspacing="0" cellpadding="0" align="center">
      <tr>
      <td><html:errors/></td>
      </tr>
      </table>
      
            <table width=800 align="center">
      <tr><td>
		<html:form action="/queryUser">
			查询用户: <html:select property="searchType">
			<html:option  value="uid" >编号</html:option>
			<html:option value="uname" >姓名</html:option>
			<html:option  value="uclass" >班级</html:option>
			<html:option  value="ugrade">权限</html:option>
			</html:select>
			<html:errors property="searchType"/>
			<html:text property="condition"/><html:errors property="condition"/><html:submit>查询</html:submit>
		</html:form>
		</td>
		<td><logic:present name="count" scope="request">共&nbsp;&nbsp;<font color="#ff0000"><bean:write name="count"/></font>&nbsp;&nbsp;条记录</logic:present></td>
	</tr>
	</table>	
	<table width="800" border=0 align="center" cellpadding="0" cellspacing="1" >
      <tr height="2"><hr/></tr>
      
      <tr bgcolor="#009966">
      <td>用户编号</td> 
      <td>用户姓名</td>
      <td>用户密码</td>
      <td>用户性别</td>
      <td>用户班级</td>
      <td>用户权限</td>
      <td>更新</td>
      <td>删除</td>
      </tr>
      
      <logic:present name="users" scope="request">
      <logic:iterate id="show" name="users" scope="request">
      <tr >
     
      <td><bean:write name="show" property="uid" /></td> 
      <td><bean:write name="show" property="uname" /></td>
      <td><bean:write name="show" property="upassword" /></td>
      <td><bean:write name="show" property="usex" /></td>
      <td><bean:write name="show" property="uclass" /></td>
      <td><bean:write name="show" property="ugrade" /></td>
      <td><a href="dbUpdate.do?functiontype=upusers&uid=<bean:write name='show' property='uid'/>">更新</a></td>
      <td><a href="dbUpdate.do?functiontype=deluser&uid=<bean:write name='show' property='uid'/>">删除</a></td>
      </tr>
      </logic:iterate>
      </logic:present>
      </table>
  </body>
</html:html>

⌨️ 快捷键说明

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