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

📄 xs3105.jsp

📁 一个完整的物流系统
💻 JSP
字号:
<%@ page language="java" pageEncoding="gb2312"%>
<jsp:directive.page import="jp.com.cost.pojo.Account"/>
<jsp:directive.page import="java.util.List"/>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
		
%>
<html>
<head>
<base href="<%=basePath%>">
<title>共享页面</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<link href="css/content.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
	margin-bottom: 20%;
}
-->
</style>
<link href="css/main_content.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.STYLE1 {font-size: large}
-->
</style>
</head>
 
<body style="margin:0px;">
<form name="" action="XS3105E1S.do" method="POST">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="2" class="tr_title4" ><div align="center"></div></td>
  </tr>
  <tr>
  	<td colspan="2"><p align="center" class="STYLE1">选择共享目标</p>
  	  <table width="52%" height="142" border="1" align="center">
        <tr>
        
          <td width="36%" height="136" align="right" class="title_tr">共享给谁就打勾:</td>
          <td width="64%"><span class="font11pt font11pt">
           <%List<Account> list1 = (List<Account>)request.getAttribute("shareList");
            for(Account a:list1){
            %>
            <input name="ruler" type="checkbox" id="ruler" value=<%=a.getId() %> checked>
            <%=a.getAname() %><br>
             <%} %>
              <%List<Account> list2 = (List<Account>)request.getAttribute("shareNoList");
             	Account account = (Account)session.getAttribute("account");
			    int id = account.getId();
                for(Account a:list2){
               if(a.getId()!=id){
            %>
            <input name="ruler" type="checkbox" id="ruler" value=<%=a.getId() %> >
            <%=a.getAname() %><br>
            <%} 
              }
             String oid = (String)request.getAttribute("oid");
             %>
              <input type="hidden" name="oid" value="<%=oid%>"/>
          </span></td>
        </tr>
      </table></td>

  <tr>
    <td colspan="2" class="content_tr">
        <div align="center">
          <input name="Button_back2" type="submit" class="title_tr" id="Button_back"  onClick="" value="保存">
          <input name="Button_back" type="button" class="title_tr" id="Button" title="返回" onClick="history.go(-1);" value="返回">
        </div></td>
  </tr>
  <tr>
    <td colspan="2" class="tr_title4">&nbsp;</td>
  </tr>
</table>
</form>
</body>

</html>

⌨️ 快捷键说明

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