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

📄 add_question.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://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="/WEB-INF/tld/page.tld" prefix="page" %>

<html>
  <head>
    <base href="http://localhost:8080/accp_hr/"/>

    <title>一级试题==添加页面</title>

  </head>
  
  <body bgcolor="#DADEDD" style="background-image: url('images/accphr/main.jpg');background-attachment :fixed ;">
    <input type="button" value="返回" onclick="location.href='firstQuestion.do?opfq=toList'" >
    <html:form action="firstQuestion" onsubmit="return tijiao();">
    	<input type="hidden" name="opfq" value="doAdd"/>
    	<table align="center" width="100%">
    		
    		<tr>
    			<td>
    				<table border="1" cellspacing="0" align="center" width="90%" bordercolor="black" style="font-size: 12px">
						<tr>
    						<th>属性ID</th>
    						<td>
    						<html:text property="firstQuestion.firstKindId" value="${newid}" readonly="true"></html:text>
    						</td>
    					</tr>
    					<tr>
    						<th>属性名称</th>
    						<td>
    						<html:text property="firstQuestion.firstKindName" styleId="kname"></html:text>
    						</td>
    					</tr>

    				</table></td>
    		</tr>
    		<tr>
    			<td align="center">
					<html:submit value="保存"></html:submit> <html:reset value="重置"></html:reset>
    			</td>
    		</tr>
    	</table>
    </html:form>
  </body>
</html>
<script type="text/javascript">
<!--

	function tijiao(){
		var kindn=document.getElementById("kname").value;
		if(kindn==''){
			alert("名称不能为空");
			return false;
		}
	}
//-->
</script>

⌨️ 快捷键说明

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