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

📄 updatestaffinfohrm.jsp

📁 一个小型的医疗管理系统
💻 JSP
字号:
 
<%@ page language="java" import="java.util.*" import="bean.Staff" pageEncoding="gbk"%>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
          "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
	<head>

		<link href="style.css" rel="Stylesheet" type="text/css" />
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<title>Hospital</title>
		<!--
    <link rel="stylesheet" type="text/css" href="styles.css">
    -->
	</head>
	<body>
	<html:form action="/updateStaffInfoHRM">
	<%Staff staff  = (Staff)session.getAttribute("staffInfo");
	  String hours = (new Integer(staff.getHour())).toString();
	  String salary = (new Float(staff.getSalary())).toString();%>
		 <div id="Page">
				<div id="Header">
				</div>
				<div id="Main">
				<h1>
				Staff Edit Form
				<h1>
		 <div style="text-align: center">
                <table>
                    <caption>
                        StaffForm  </caption>
                        <caption>
                        Staff Number :<% out.println(staff.getStaffId()); %></caption>
                         <caption>
                        Staff Name :<% out.println(staff.getF_name()); %></caption>
                    <tr>
                        <td>
                            <b>Address</b></td>
                        <td>
                    
                            <html:text property="address" value="<%=staff.getAddress()%>"/>
                            <html:errors property="address"/>
                            </td>
                        <td>
                            <b>Hours</b></td>
                        <td>
                           <html:text property="hours" value="<%= hours%>" />
                            <html:errors property="hours"/>
                            
                            </td>
                            </tr>
                         <tr>
                         <td>
                            <b>Paid Weekly or Monthly
                               (Enter W or M)</b></td>
                        <td>
                            <html:text property="paidtype" value="<%=staff.getPaidType()%>"/>
                           <html:errors property="paidtype"/></td>
                        <td>
                            <b>Permanent or Temporary
                              (Enter P or T)</b></td>
                        <td>
                            <html:text property="pORt" value="<%=staff.getContract_type()%>"/>
                           <html:errors property="pORt"/></td>
                    </tr>
					  <tr>
                         <td>
                            <b>Position</b></td>
                        <td>
                            <html:text property="position" value="<%=staff.getPosition()%>"/>
                           <html:errors property="position"/></td>
                        <td>
                            <b>Salary</b></td>
                        <td>
                            <html:text property="salary" value="<%= salary%>"/>
                           <html:errors property="salary"/></td>
                    </tr>
                    
                      <tr>
                         <td>
                            <b>Salary Scale</b></td>
                        <td>
                            <html:text property="salaryScale" value="<%=staff.getSalary_type()%>"/>
                           <html:errors property="salaryScale"/></td>
                        <td>
                            <b>Tel.NO</b></td>
                        <td>
                            <html:text property="tele" value="<%=staff.getTele()%>"/>
                           <html:errors property="tele"/></td>
                    </tr>
                    
                      <tr>
                         <td>
                            <b>Allocated to ward</b></td>
                        <td>
                            <html:text property="wardid" value="<%=staff.getWardid()%>"/>
                           <html:errors property="wardid"/></td>
                       
                    </tr>
                </table>
            </div>
            </div>
			</div>
			<html:submit/><html:cancel/>
		</html:form>
	</body>
</html>

⌨️ 快捷键说明

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