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

📄 userleword.jsp

📁 仿招聘网站 SSH框架 ajax功能
💻 JSP
字号:
<%@ page language="java" pageEncoding="utf-8"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0050)http://ehr.chinahr.com/register/mem_reg_append.asp -->
<!--include virtual="/register/publishOrgXML.asp"--><?xml version="1.0" encoding="utf-8"?><HTML 
xmlns="http://www.w3.org/1999/xhtml"><HEAD id=Head1><TITLE>企业注册 | 智聘系统</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8"><LINK 
href="lewordfiles/default.css" type=text/css rel=stylesheet><LINK 
href="lewordfiles/main.css" type=text/css rel=stylesheet><LINK 
href="lewordfiles/corp_sign.css" type=text/css rel=stylesheet>
<LINK href="lewordfiles/layer6.css" type=text/css rel=stylesheet />
<META content="MSHTML 6.00.2900.5512" name=GENERATOR/>
<SCRIPT type="text/javascript" src="../script/common.js"></SCRIPT>
<SCRIPT type="text/javascript">
function check(name)///验证标题
{
	if (name.value=="")
	{	
		document.getElementById("div1").innerHTML="<font color='red'>留言标题不能为空!</font>";
		document.getElementById("div1").style.display="inline";
		name.focus();
	}else
	{
		document.getElementById("div1").innerHTML="";
	}
}
function checkcode(name)///验证邮编
{
	if (name.value=="")
	{	
		document.getElementById("div2").innerHTML="<font color='red'>邮编不能为空!</font>";
		document.getElementById("div2").style.display="inline";
		name.focus();
	}else
	{
		if (isNaN(name.value))
		{
			document.getElementById("div2").innerHTML="<font color='red'>邮编只能是数字!</font>";
			document.getElementById("div2").style.display="inline";
			name.select();
		}else
		{
			document.getElementById("div2").innerHTML="<font color='green'>格式正确!</font>";
			document.getElementById("div2").style.display="inline";
		}
	}
}
function checklinkman(name)///验证联系人
{
	if (name.value=="")
	{	
		document.getElementById("div3").innerHTML="<font color='red'>联系人不能为空!</font>";
		document.getElementById("div3").style.display="inline";
		name.focus();
	}else
	{
		document.getElementById("div3").innerHTML="";
	}
}
function checktel(name)///验证联系电话
{
	var div4=document.getElementById("div4");
	if (name.value=="")
	{	
		div4.innerHTML="<font color='red'>联系电话不能为空!</font>";
		div4.style.display="inline";
		name.focus();
	}else
	{
		if (isNaN(name.value))
		{
			if (name.value.indexOf("-")==-1)
			{
				div4.innerHTML="<font color='red'>联系电话格式不正确!</font>";
				div4.style.display="inline";
				name.select();
			}else
			{
				var str1=name.value.split("-")[0];
				var str2=name.value.split("-")[1];
				if (isNaN(str1)||isNaN(str2))
				{
					div4.innerHTML="<font color='red'>联系电话格式不正确!</font>";
					div4.style.display="inline";
					name.select();
				}
			}
		}
		else
		{
			if (name.value.length>8||name.value.length<7)
			{
				div4.innerHTML="<font color='red'>联系电话长度太长或太短!!</font>";
				div4.style.display="inline";
				name.select();
			}else
			{
				div4.innerHTML="";
			}
		}
	}
}
function checkEmail(name)///验证电子信箱
{
	var div5=document.getElementById("div5");
	if (name.value=="")
	{	
		div5.innerHTML="<font color='red'>电子信箱不能为空!</font>";
		div5.style.display="inline";
		name.focus();
	}else
	{
		if (name.value.indexOf("@")==-1||name.value.indexOf(".")==-1)
		{
			div5.innerHTML="<font color='red'>电子信箱格式不正确!</font>";
			div5.style.display="inline";
			name.select();
		}
		else
		{
			div5.innerHTML="";
		}
	}
}
function checkContent()
{
	var content=document.forms[0].elements["leword.vocContent"];
	if (content.value=="")
	{
		alert("留言内容不能为空,请认真填写!");
		content.focus();
		return false;
	}
	return true;
}
</SCRIPT>
</HEAD>
<BODY onload="if ('${leword }'=='suc')alert('留言已成功发布!');">
<html:form action="/doleword?operate=release" onsubmit="return checkContent();">
<html:hidden property="leword.leawDate" styleId="t1"/>
<html:hidden property="leword.leawTime" styleId="t2"/>
<DIV id=wrap>
<DIV class=wrapcon><!--top-->

<DIV id=header>
<DIV class=mcon>
<DIV class=logo><A href="http://www.chinahr.com/"><IMG alt=ChinaHR.com 
src="lewordfiles/chr_logo.gif"></A> <A 
href="http://ehr.chinahr.com/index.aspx"></A> </DIV>
<DIV class=user><A class=goto id=tabOther >去其它频道</A>|<A class=goto 
id=tabGdzp >各地招聘</A> </DIV><!--去其它频道 begin-->
<DIV class="lyer dis_n" id=dvOther>
<DIV class=top>
<DIV class=mc></DIV></DIV>
<DIV class=mid>
<DIV class=mc>
<UL>
  <LI><A href="http://www.chinahr.com/">首页</A> </LI>
  <LI><A href="http://searchjob.chinahr.com/Index.aspx">个人服务</A> </LI>
  <LI><A href="http://campus.chinahr.com/">校园招聘</A> </LI>
  <LI><A href="http://recruiter.chinahr.com/">企业服务</A> </LI></UL></DIV></DIV>
<DIV class=bm>
<DIV class=mc></DIV></DIV></DIV><!--去其它频道 end--><!--各地招聘 begin-->
<DIV class="lyer dis_n" id=dvGdz>
<DIV class=top>
<DIV class=mc></DIV></DIV>
<DIV class=bm>
<DIV class=mc></DIV></DIV></DIV><!--各地招聘 end--></DIV></DIV>
<DIV class=index>
  <DIV class=info>
<DIV class=tip1>如果您需要留言,请您认真填写并核对如下信息:</DIV>
<DIV class=must2><B>*</B>号为必填</DIV></DIV>
<DIV class=formblk>
<DIV class=ad><A 
href="http://ehr.chinahr.com/Register/ad_info/regfavorable.aspx" 
target=_blank><br /></A></DIV>
<DIV class=conblk>
<DIV class="text must">留言标题:</DIV>
<DIV class=input><html:text property="leword.vocName" styleClass="iptxt input1" onblur="check(this)"></html:text>
<span style="color:red;">*</span><DIV id="div1" style="display:none;"></DIV>
</DIV></DIV>
<DIV class=conblk>
<DIV class=text>留言内容:</DIV>
<DIV class=input><html:textarea styleClass="iptxt input2" property="leword.vocContent" cols="50" rows="5"></html:textarea>
<span style="color:red;">*</span>
</DIV></DIV>
<DIV class=conblk>
<DIV class="text must">公司名称:</DIV>
<DIV class=input><html:text property="leword.vocCompany" styleClass="iptxt input1"/>
 </DIV></DIV>


<DIV class=conblk>
<DIV class="text must">地址:</DIV>
<DIV class=input><html:text property="leword.vocComAddress" styleClass="iptxt input2"/>
</DIV></DIV>
<DIV class=conblk>
<DIV class="text must">邮编:</DIV>
<DIV class=input><html:text property="leword.postCode" styleClass="iptxt input1" onblur="checkcode(this);"/> 
<span style="color:red;">*</span><DIV id="div2" style="display:none;"></DIV></DIV></DIV>
<DIV class=conblk>
<DIV class=text>联系人:</DIV>
<DIV class=input><html:text property="leword.linkMan" styleClass="iptxt input1" onblur="checklinkman(this);"/>
<span style="color:red;">*</span><DIV id="div3" style="display:none;"></DIV></DIV></DIV>
<DIV class=conblk>
<DIV class=text>联系电话:</DIV>
<DIV class=input><html:text property="leword.linkTel" styleClass="iptxt input1" onblur="checktel(this);"/>
<span style="color:red;">*</span><DIV id="div4" style="display:none;"></DIV>
</DIV></DIV>

<DIV class=conblk>
<DIV class="text must">手机:</DIV>
<DIV class=input><html:text property="leword.linkHandset" styleClass="iptxt input1"/> 
</DIV>
</DIV>

<DIV class=conblk>
<DIV class="text must">传真:</DIV>
<DIV class=input><html:text property="leword.linkFax" styleClass="iptxt input1"/> 
</DIV>
</DIV>
<DIV class=conblk>
<DIV class="text must">电子信箱:</DIV>
<DIV class=input><html:text property="leword.EMail" styleClass="iptxt input1" onblur="checkEmail(this);"/>
  <span style="color:red;">*</span><DIV id="div5" style="display:none;"></DIV>
</DIV></DIV>
<DIV class=conblk>
<DIV class="text must"><INPUT type="submit" value="提交" /></DIV>
<DIV class=input><html:reset>全部重写</html:reset>
</DIV></DIV>
<DIV class=note></DIV></DIV></DIV>
<DIV style="DISPLAY: none"><IFRAME id=RegSendEmail src="about:blank" width=0 
height=0></IFRAME></DIV></DIV>
</html:form>
<!-- Google Code for SIGNUP Conversion Page Begin-->
<NOSCRIPT><IMG height=1 src="" width=1 border=0/> </NOSCRIPT><!-- Google Code for SIGNUP Conversion Page End--><!-- AdForward I-Point:企业简单完成页 Begin -->
<!-- AdForward I-Point:企业简单完成页 End --><!--页脚开始--><!-- 页脚 begin -->
<DIV id=footer>
<DIV class=footnav><A 
href="http://www.chinahr.com/pub/bottommenu/aboutus.asp?clickbutton=1" 
target=_blank>中华英才网简介</A>|<A 
href="http://www.chinahr.com/pub/bottommenu/service4empl.asp?clickbutton=3" 
target=_blank>我们的服务</A>|<A 
href="http://www.chinahr.com/pub/bottommenu/pressrelease.asp?clickbutton=1" 
target=_blank>媒体关注</A>|<A 
href="http://www.chinahr.com/pub/bottommenu/comments/feedback.asp?clickbutton=1" 
target=_blank>用户反馈</A>|<A 
href="http://www.chinahr.com/pub/bottommenu/joinus.asp?clickbutton=1" 
target=_blank>本网招聘</A>|<A 
href="http://www.chinahr.com/pub/bottommenu/announce.asp?clickbutton=1" 
target=_blank>网站声明</A>|<A 
href="http://www.chinahr.com/pub/bottommenu/contactinfo.asp?clickbutton=2" 
target=_blank>联系我们</A>|<A 
href="http://www.chinahr.com/pub/bottommenu/comradeship.asp?clickbutton=1" 
target=_blank>合作伙伴</A></DIV>
<DIV class=copyright>本网站之所有招聘信息及作品,未经书面授权不得转载。<BR/>中华英才网 &copy; 版权所有 <A 
href="http://www.miibeian.gov.cn/" target=_blank>ICP经营许可证编号 京ICP证000065号</A> 
</DIV></DIV><!-- 页脚 end -->
<SCRIPT type="text/javascript">
setCurTime1('t1');
setCurTime2('t2');
</SCRIPT>
</BODY></HTML>

⌨️ 快捷键说明

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