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

📄 addaccess.jsp

📁 这是一个针对医院管理的一个系统
💻 JSP
字号:
<%@ page language="java" pageEncoding="GBK"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
  <head>
    <html:base />
    
    <title>AddAccess.jsp</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">
	-->
	<link rel="stylesheet" type="text/css" href="/HospitalManageSystem/css/share_css.css">

  </head>
  
  <body>
  
  
    <html:form action="/see_doctor_message">
   	
    <center><h2>录入病人就医信息</h2></center>
    	<table width="80%" align="center">
    	<tbody>
    		<tr>
    			<td width="40%" align="right">病人ID:</td>
    			<td>
    				<%
    					String patient_id = null;
    					if(request.getParameter("patient_id")==null){
    						patient_id = "";
    					}
    					else{
    						patient_id = request.getParameter("patient_id");
    					}
    				 %>
    					<html:text property="patient_id" value="<%=patient_id %>"/>
    			</td>
    		</tr>
    		<tr>
    			<td align="center" colspan="2">
    			<html:hidden property="see_doctor_message" value="addAccess"/>
    			<html:submit property="" onclick="return clickSubmit();" value=" 确 定 "/> &nbsp; 
    			<html:reset value=" 重 置 "/>
    			</td>
    		</tr>
    	</tbody>
    	</table>
    </html:form>
  </body>
</html:html>

<script type="text/javascript">
function clickSubmit(){
	var patient_id=document.getElementById("patient_id").value;
	if(patient_id==null||patient_id==""){
		alert("不能为空!");
		return(false);
	}else{
		return(true);
	}
}
</script>



⌨️ 快捷键说明

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