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

📄 customerdetail.jsp

📁 一个关于商业的网站
💻 JSP
字号:
<%@ page import="java.util.*"%>
<%@ page import="java.sql.*"%>

<%String custId = request.getParameter("custId");
  int customerId = Integer.parseInt(custId);
%>

<jsp:useBean id="dbConn" scope="request" class="com.everstar.database.Database"/>

<jsp:useBean id="customer" scope="request" class="com.everstar.career.CustomerInformation"/>

<jsp:useBean id="replace" scope="page" class="com.everstar.news.Replace"/>

<jsp:useBean id="custCtl" scope="page" class="com.everstar.career.SelectCustomer">
      	<jsp:setProperty name="custCtl" property="*"/>
      	<jsp:setProperty name="custCtl" property="customerId" value="<%=customerId%>"/>
      	<jsp:setProperty name="custCtl" property="customer" value="<%=customer%>"/>
      	<jsp:setProperty name="custCtl" property="dbConn" value="<%=dbConn%>"/>
      	<%custCtl.init();%>
</jsp:useBean>

<html>
<head>
<title>CustomerInformation
</title>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<style type="text/css">
<!--
A { text-decoration: none; }
A:hover	{ color:#FF3300; }
.normal { text-decoration: underline; color:#0033cc; }
.subject { font-family: verdana; }
.subjectOn { font-family: verdana; font-weight: bold; }
.username { font-family: verdana; color: #000000; }
.usernameOn { font-family: verdana; color: #000000; font-weight: bold; }
.datetime { font-family: verdana; color: #333333; }
.datetimeOn { font-family: verdana; color: #333333; font-weight: bold; }
.dateTimeList { font-family: verdana; color: #666666; text-align: center; }
.dateTimeListToday { font-family: verdana; color: #ff6600; text-align: center; }
.breadcrumbBox { font-family: verdana; font-size: 9pt; color: #0033cc; font-weight: bold;}
.messageNav { font-size: 7pt; font-family: verdana;}
.messageNavButton { font-size: 8pt;font-family: verdana;}
-->
</style>
</HEAD>

<BODY bgColor=#ffffff leftMargin=0 text=#000000 topMargin=0 MARGINWIDTH="0" MARGINHEIGHT="0">
  <TABLE bgColor=#ffffff border=0 cellPadding=0 cellSpacing=0 width="100%">
	<tr><jsp:include page="../header.jsp" flush="true"/> </tr>
  </TABLE>            
<form action="browsecustomer.jsp" name="form1" method="POST">          
  <TABLE bgColor=#ffffff border=0 cellPadding=0 cellSpacing=0 width="100%">
    <tr>         
      <td width="100%" align = center><b>The Customer's Information:</b></td>        
    </tr>        
    <tr>        
      <td width="100%">        
  <TABLE bgColor=#ffffff border=1 cellPadding=0 cellSpacing=0 width="100%">
          <tr>        
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Customer Name:</font></td>        
            <td width="85%"><%=(customer.getPersonName().trim().length() == 0) ? "&nbsp;" : customer.getPersonName()%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Gender:</font></td>        
            <td width="85%"><%=(customer.getSex().trim().length() == 0) ? "&nbsp;" : customer.getSex()%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Age:</font></td>       
            <td width="85%"><%=customer.getAge()%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Stature:</font></td>       
            <td width="85%"><%=customer.getStature()%>cm</td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Nation:</font></td>       
            <td width="85%"><%=(customer.getNation().trim().length() == 0) ? "&nbsp;" : customer.getNation()%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">BornPlace:</font></td>       
            <td width="85%"><%=(customer.getBornPlace().trim().length() == 0) ? "&nbsp;" : customer.getBornPlace()%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Politics:</font></td>       
            <td width="85%"><%=(customer.getPolitics().trim().length() == 0) ? "&nbsp;" : customer.getPolitics()%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Marriage:</font></td>       
            <td width="85%"><%=(customer.getMarriage().trim().length() == 0) ? "&nbsp;" : customer.getMarriage()%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">IDCard:</font></td>       
            <td width="85%"><%=(customer.getIdCard().trim().length() == 0) ? "&nbsp;" : customer.getIdCard()%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Duty:</font></td>       
            <td width="85%"><%=(customer.getDuty().trim().length() == 0) ? "&nbsp;" : customer.getDuty()%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Degree:</font></td>       
            <td width="85%"><%=(customer.getDegree().trim().length() == 0) ? "&nbsp;" : customer.getDegree()%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">ForeignLanguage:</font></td>       
            <td width="85%"><%=(customer.getForeignLanguage().trim().length() == 0) ? "&nbsp;" : customer.getForeignLanguage()%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">ForeignLevel:</font></td>       
            <td width="85%"><%=(customer.getForeignLevel().trim().length() == 0) ? "&nbsp;" : customer.getForeignLevel()%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">ComputerLevel:</font></td>       
            <td width="85%"><%=(customer.getComputerLevel().trim().length() == 0) ? "&nbsp;" : customer.getComputerLevel()%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">School:</font></td>       
            <td width="85%"><%=(customer.getSchool().trim().length() == 0) ? "&nbsp;" : customer.getSchool()%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Major:</font></td>       
            <td width="85%"><%=(customer.getMajor().trim().length() == 0) ? "&nbsp;" : customer.getMajor()%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">DocumentPlace:</font></td>       
            <td width="85%"><%=(customer.getDocumentPlace().trim().length() == 0) ? "&nbsp;" : customer.getDocumentPlace()%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">PresentPlace:</font></td>       
            <td width="85%"><%=(customer.getPresentPlace().trim().length() == 0) ? "&nbsp;" : customer.getPresentPlace()%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">WorkedYear:</font></td>       
            <td width="85%"><%=customer.getWorkedYear()%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">PositionName:</font></td>       
            <td width="85%"><%=(customer.getPositionName().trim().length() == 0) ? "&nbsp;" : customer.getPositionName()%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Wage:</font></td>       
            <td width="85%"><%=(customer.getWages().trim().length() == 0) ? "&nbsp;" : customer.getWages()%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Address:</font></td>       
            <td width="85%"><%=(customer.getAddress().trim().length() == 0) ? "&nbsp;" : customer.getAddress()%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Zip:</font></td>       
            <td width="85%"><%=(customer.getZip().trim().length() == 0) ? "&nbsp;" : customer.getZip()%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Telephone:</font></td>       
            <td width="85%"><%=(customer.getTelephone().trim().length() == 0) ? "&nbsp;" : customer.getTelephone()%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">EMail:</font></td>       
            <td width="85%"><%=(customer.getEmail().trim().length() == 0) ? "&nbsp;" : customer.getEmail()%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Resume:</font></td>       
            <td width="85%"><%=(customer.getResume().trim().length() == 0) ? "&nbsp;" : replace.replace(customer.getResume())%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Relation:</font></td>       
            <td width="85%"><%=(customer.getRelation().trim().length() == 0) ? "&nbsp;" : replace.replace(customer.getRelation())%></td>       
          </tr>       
          <tr>       
            <td width="15%" align=center><font  style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">Request:</font></td>       
            <td width="85%"><%=(customer.getRequest().trim().length() == 0) ? "&nbsp;" : replace.replace(customer.getRequest())%></td>       
          </tr>       
        </table>      
      </td>      
    </tr>      
  </table>     
    <tr>
     <center>
       <input type=Hidden name=poId value=<%=customer.getPositionId()%>>
       <input type="submit" value="Return" name="submit" >
     </center>
    </tr>     
  </form>    
  <TABLE bgColor=#ffffff border=0 cellPadding=0 cellSpacing=0 width="100%">
	<tr><jsp:include page="../footer.jsp" flush="true"/> </tr>
  </table> 
</body>         
</html>

⌨️ 快捷键说明

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