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

📄 myjsp.jsp

📁 基于Java的地图数据管理软件。使用MySQL数据库管理系统。
💻 JSP
字号:
<%@page contentType="text/html; charset=gb2312"%>
<%@ page language="java" import="java.util.*,
    com.tongtu.util.UserInfo;" %>
 <%@ include file="/WEB-INF/jsp/includes.jsp"%>
<%@ taglib uri="/WEB-INF/tags/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/tags/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tags/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/tags/struts-tiles.tld" prefix="tiles" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String personName =(String)request.getAttribute("personName");
String department =(String)request.getAttribute("department");
UserInfo curUser = (UserInfo)session.getAttribute("curuser");  
List userList = (List)request.getAttribute("userList"); 

%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

<html>
<script language="javascript" src="js/calendar.js"></script>
  <head>
    <base href="<%=basePath%>">
    
    <title>登录成功</title>
    
    <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">
    
    <!--
    <link rel="stylesheet" type="text/css" href="styles.css">
    -->
  </head>
   <body>
             <%=curUser.getPersonName() %> 登录成功! <%=curUser.getTelephone()%>
               <form name="adForm" action="agentusermod.go">
                <table width="100%" height="100"  border="0" cellpadding="0" cellspacing="1">
                 <tr>
            <td height="29" align="right" >上传时间:</td>
            <td height="29"><input type="text" name="startTime" readonly> 
             <a onClick="formname1('adForm.startTime');doMenu('idpad1')"><img src="pic/clock.gif" width="18" height="18" border="0" style="cursor:hand"></a> 
             </td>
          </tr>
          </table>
               <table width="100%" height="150"  border="0" cellpadding="0" cellspacing="0">
               <tr align="left">
              <td height="25" background="<%=path%>/pic/admin_bg_3.gif"><strong>用户ID</strong></td>
              <td background="<%=path%>/pic/admin_bg_3.gif"><strong>登录名</strong></td>
              <td background="<%=path%>/pic/admin_bg_3.gif"> <strong>用户姓名</strong></td>
              <td background="<%=path%>/pic/admin_bg_3.gif"><strong>职务</strong></td>
              <td background="<%=path%>/pic/admin_bg_3.gif"><strong>科室名称</strong></td>
              <td background="<%=path%>/pic/admin_bg_3.gif"><strong>所在市</strong></td>
               <td background="<%=path%>/pic/admin_bg_3.gif"><strong>所在县(区)</strong></td>
                <td background="<%=path%>/pic/admin_bg_3.gif"><strong>联系电话</strong></td>
            </tr>
            <%
             UserInfo  userinfo = new UserInfo();
             if (userList != null){
                for (int i = 0; i < userList.size();i++){
                   userinfo = (UserInfo)userList.get(i);
               
               
             %>
              <tr>
              <td height="23" ><%=userinfo.getUserId()%></td>
              <td><%=userinfo.getUserName()%></td>
              <td><%=userinfo.getPersonName()%></td>
              <td><%=userinfo.getHeadShip()%></td>
              <td><%=userinfo.getDepartment() %></td>
              <td><%=userinfo.getCity() %></td>
              <td><%=userinfo.getCounty() %></td>
              <td><%=userinfo.getTelephone() %></td>
            </tr>
			   <%} }%>
			   <tr>
			   <td><a href="showlog.do?start=0&count=10">显示用户操作日志</a></td>
			   </tr>
	      </table>
	   
          <SPAN ID='idpad1' STYLE='display:none;position:absolute;width:0;padding-top:0;padding-left:0;padding-bottom:0;z-index:0;' onmouseout='hideMenu();'> 
          <iframe ID="pad1" src="<%=path%>/TimeC.do?month1=1&year1=2000" width=195 height=205 name="pad1"></iframe>
          </SPAN>	
        
          </form>
  </body>
</html>

⌨️ 快捷键说明

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