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

📄 customerright.jsp~8~

📁 本文件中还有JSP、php和delphi等源程序
💻 JSP~8~
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %>
<%@ page import="com.Order.vo.Customer"%>
<html>
<head>
 <link rel="STYLESHEET" type="text/css" href="css/shared.css">
<title>
customerright
</title>
</head>
<body bgcolor="#ffffff">
<%!
String name;
String email;
String address;
String phone;
Customer customer;
%>
<%
 session = request.getSession(false);
if(session!=null)
{
   customer = (Customer)session.getAttribute("pass");
   if(employee!=null)
   {
	name =  customer.getEmployeeName();
	gender = employee.getGender();
	age = employee.getAge().intValue();
  	deptname = employee.getDept().getDeptName() ;
 	note = employee.getNote();
        int type = employee.getEmployeeType().intValue();
	switch(type)
        {
          case 1:
            position = "初级职称" ;
		break;
	  case 2:
		position="中级职称";
		break;
          case 3:
		position="高级职称";
		break;
          default:
		position="--";
         }
   }else
   {
     int i=1/0;
   }

}
%>
<h3 align="center">
员工基本信息
</h3>
<br>
<hr height=1 />
<table width=100%>
<tbody >
<tr>
<td class="tdbg1" width=15%>员工姓名:</td><td class="tdbg2" width=15% align="center"><%=name%></td>
<td class="tdbg1" width=15%>员工性别:</td><td class="tdbg2" width=15% align="center"><%=gender%></td>
</tr>
<tr>
<td class="tdbg1" width=15%>员工年龄:</td><td class="tdbg2" width=15% align="center"><%=age%></td>
<td class="tdbg1" width=15%>所属部门:</td><td class="tdbg2" width=15% align="center"><%=deptname%></td>
</tr>
<tr>
<td class="tdbg1" width=15%>员工职称:</td><td class="tdbg2" width=15% align="center"><%=position%></td>
<td class="tdbg1" width=15%>员工备注:</td><td class="tdbg2" width=15% align="center"><%=note%></td>
</tr>
</tbody>
</table>
<hr height=1 />

</body>
</html>

⌨️ 快捷键说明

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