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

📄 d3.jsp

📁 持久层hibernate技术使用的一个例子
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=GBK" isErrorPage="true" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<html:html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<link href="/css/base.css" rel="stylesheet" type="text/css">
<bean:write name="ctp" filter="false" />
</head>

<body>
<html:form action="/D32" >
<table width="100%" align="center" >
  <tr>
    <td colspan="3" align="center" >填 写 信 息</td>
  </tr>
  <tr>
    <td colspan="3">*号注明的都需要填写,密码请区分大小写。</td>
  </tr>
  <tr>
    <td colspan="3" ></td>
  </tr>
  <tr>
    <td width="30%" align="right" >用户名字:</td>
    <td width="30%" ><html:text styleClass="input-text" property="username" />*<html:errors property="username"/></td>
    <td width="40%" >用户名由a~z的英文字母、0~9的数字,长度为3~18个字符</td>
  </tr>
  <tr>
    <td align="right">密&nbsp;&nbsp;&nbsp;&nbsp;码:</td>
    <td ><html:password property="psw" styleClass="input-text"/>*<html:errors property="psw"/></td>
    <td >密码长度为6~16位,区分字母大小写。登录密码可以由字母、数字、特殊字符组成</td>
  </tr>
  <tr>
    <td align="right" >密码确认:</td>
    <td ><html:password property="psw1" styleClass="input-text"/>*<html:errors property="psw1"/></td>
    <td >和密码一样</td>
  </tr>
  <tr>
    <td align="right" >找回密码的提示问题</td>
    <td ><html:text property="findpsw" styleClass="input-text"/>*<html:errors property="findpsw"/></td>
    <td >当您忘记密码时可由此找回密码。</td>
  </tr>
  <tr>
    <td align="right" >找回密码的答案</td>
    <td ><html:text property="question" styleClass="input-text"/>*<html:errors property="question"/></td>
    <td >当您忘记密码时可由此找回密码</td>
  </tr>
  <tr>
    <td align="right" >身份证号</td>
    <td ><html:text property="passport" styleClass="input-text"/>*<html:errors property="passport"/></td>
    <td>请填写您的真实身份证号</td>
  </tr>
  <tr>
    <td align="right" >真实姓名</td>
    <td ><html:text property="name" styleClass="input-text"/>*<html:errors property="name"/></td>
    <td >请填写您的真实姓名</td>
  </tr>
  <tr>
    <td align="right">个人固定电话</td>
    <td ><html:text property="gph" styleClass="input-text"/>*<html:errors property="gph"/></td>
    <td>添写真实有效的固定电话3个以上</td>
  </tr>
  <tr>
    <td align="right" >个人移动电话</td>
    <td ><html:text property="yph" styleClass="input-text"/>*<html:errors property="yph"/></td>
    <td >添写真实有效的固定电话3个以上</td>
  </tr><tr>
    <td align="right" >家长联系固定电话</td>
    <td ><html:text property="hphome" styleClass="input-text"/>*<html:errors property="hphome"/></td>
    <td >添写真实有效的固定电话3个以上</td>
  </tr>
	<tr>
    <td align="right">家长的
      移动电话</td>
    <td ><html:text property="lph" styleClass="input-text"/>*<html:errors property="lph"/></td>
    <td>添写真实有效的固定电话3个以上</td>
  </tr>
  <tr>
    <td align="right" >邮箱地址</td>
    <td ><html:text property="mailbox" styleClass="input-text"/>*<html:errors property="mailbox"/></td>
    <td >添写真实有效的邮箱</td>
  </tr>
</table>
<table width="100%" align="center">
  <tr>
    <td width="33%" align="center">政治面貌
	 <html:select property="zzid">
        <html:option value="群众">群众</html:option>
        <html:option value="团员">团员</html:option>
        <html:option value="党员">党员</html:option>
      </html:select>    </td>
    <td width="33%" align="center">
	男<html:radio property="aandw" value="0"/>
    女<html:radio property="aandw" value="1"/></td>
    <td width="33%" align="center">以婚<html:radio property="marriage" value="0"/>
     未婚<html:radio property="marriage" value="1"/></td>
  </tr>
  <tr>
    <td align="right">出生年月日
       <select name="yer">
	   <% for(int i=1965;i<=2200;i++) {%>
	   <option value=<%=i%>><%=i%></option>
			<%}%>
        </select>月
        <select name="mon">
		<% for(int i=1;i<=12;i++) {%>
		 <option value=<%=i%>><%=i%></option>
			<%}%>
        </select>  日
        <select name="day">
		<% for(int i=1;i<=31;i++) {%>
		 <option value=<%=i%>><%=i%></option>
			<%}%>
        </select>    </td>
    <td align="center">省<select ></select>市
    <html:select property="cityid">
    <html:options collection="city" property="scId" labelProperty="scName" />
    </html:select></td>
    <td align="center">班级<html:select property="classid">
    <html:options collection="class" property="SClassid" labelProperty="SClassname" />
    </html:select>*</td>
  </tr>
  <tr>
    <td align="center">民族<html:text property="folk" styleClass="input-text"/><html:errors property="folk"/></td>
    <td align="center">入校时间<html:text property="stime" styleClass="input-text"/>yyyy-mm-dd<br><html:errors property="stime"/></td>
    <td align="center">在校生
        <html:radio property="inschool" value="0"/>
        <html:radio property="inschool" value="1"/></td>
  </tr>
  <tr>
    <td align="center">现工作单位<html:text property="warkdo" styleClass="input-text" /><html:errors property="warkdo"/></td>
    <td align="center">计算机程度<html:text property="computer" styleClass="input-text"/><html:errors property="computer"/></td>
    <td align="center">详细地址<html:text property="detailed" styleClass="input-text"/><html:errors property="detailed"/></td>
  </tr>
</table>
<table width="100%" align="center">
  <tr>
    <td width="50%" align="center">专业<html:text property="speciality" styleClass="input-text"/><html:errors property="speciality"/></td>
    <td width="50%" align="center">学历<html:text property="kge" styleClass="input-text"/><html:errors property="kge"/></td>
  </tr>
  <tr>
    <td align="center" colspan="2"><html:file property="ph" styleClass="input-text"/>    
    相片</td>
  </tr>
  <tr>
    <td align="center">第一外语<html:text property="language" styleClass="input-text"/><html:errors property="language"/></td>
    <td align="center">等级<html:text property="grale" styleClass="input-text"/><html:errors property="grale"/></td>
  </tr>
  <tr>
    <td align="center">第2外语<html:text property="language2" styleClass="input-text"/><html:errors property="language2"/></td>
    <td align="center">等级<html:text property="grale2" styleClass="input-text"/><html:errors property="grale2"/></td>
  </tr>
</table>
<table width="100%" align="center">
  <tr>
    <td width="20%" align="right">个人简历</td>

    <td width="80%"><html:textarea property="bio" styleClass="input-text" rows="5" cols="100"></html:textarea><html:errors property="bio"/> </td>
   
  </tr>
  <tr>
    <td align="right">资格证书</td>
    <td><html:textarea property="litter" styleClass="input-text"  rows="5" cols="100"></html:textarea><html:errors property="litter"/></td>
  </tr>
  <tr>
    <td align="right">就业意向</td>
    <td><html:textarea property="job" styleClass="input-text"  rows="5" cols="100"></html:textarea><html:errors property="job"/></td>
  </tr>
  <tr>
    <td align="right">特长介绍</td>
    <td><html:textarea property="sso" styleClass="input-text"  rows="5" cols="100" ></html:textarea><html:errors property="sso"/></td>
  </tr>
  <tr>
    <td align="right">备注</td>
    <td><html:textarea property="lwd" styleClass="input-text" rows="5" cols="100"></html:textarea><html:errors property="lwd"/></td>
  </tr>
</table >
<table width="100%" align="center">
  <tr>
    <td width="50%" align="center"><input type="submit" class="inputstyle2" value="提交" >  </td>
    <td width="50%" align="center"> <html:reset  value="重填" styleClass="inputstyle2"/></td>
  </tr>
  <tr>
    <td colspan="2">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2">&nbsp;</td>
  </tr>
</table>

</html:form>

</body>
</html:html>

⌨️ 快捷键说明

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