jspÖÐÅжϵÄÎÊÌâ - Java / Web ¿ª·¢
ÔõÑùʵÏÖÅжÏ×¢²áÃûÔÚ6µ½12λÊýÖ®¼ä
<script language="javascript">
function buy()
{
document.form1.submit();
}
function check()
{
if(document.form.regname.value=="")
{
alert("×¢²áÃû²»ÄÜΪ¿Õ");
document.form.regname.focus();
return false;
}
else if(document.form.realname.value=="")
{
alert("ÕæʵÐÕÃû²»ÄÜΪ¿Õ");
document.form.realname.focus();
return false;
}
regname.value.length
ÎÒ¾õµÃÄãÏÈÒªÅжÏÊÇ·ñ°üº¬ÖÐÎÄ¡£
ÔÙʹÓÃlength½øÐ㤶ÈÅжÏ
ÕâÑùд¶ÔÂð
if(document.form.regname.value.lenght<6||document.form.regname.value.length>15)
{
alert("×¢²áÃûÌîд´íÎó");
document.form.regname.focus();
return false;
¶ÔµÄ£¬Æäʵ»¹¿ÉÒÔÓÃÕýÔò±í´ïʽ¡£
Óкº×ÖÔõô°ì
if(document.form.regname.value.lenght<6||document.form.regname.value.length>15)
{
alert("×¢²áÃûÌîд´íÎó");
document.form.regname.focus();
return false;
Ïà¹ØÎÊ´ð£º
µ±ÖªµÀÒ»¸öÈÕÆÚ£¬ÈçºÎ°ÑÕâ¸öÈÕÆÚËùÔÚÑ®µÄÇ°ºóÁ½¸öÈÕÆÚÈ¡³ö
±ÈÈçÊäÈë20090905£¬¾ÍÊäÈë20090901 20090910
Êä³ö20090901 20090910
È¡µÃÌìÊýºó×÷Ò»ÏÂÅжÏÔÙ°ÑÕâ¸ö·½·¨ÓÃÏÂvoid set(int field, int value)
......
JSPÒ³ÃæÖÐÓжà¸öradio°´Å¥
JSPÒ³Ã潫²ÎÊýPOST¸øservlet
ÒªÇóÈçÏÂ;
1.Ñ¡ÔñÒ»¸öradio£¬µ÷ÓÃservlet servletÖиù¾Ý²ÎÊýµ÷ÓÃÆäËû½Ó¿Ú£¬³ý·ÇÑ¡ÖиÃradio²¢µã»÷JSPÖеÄʵР......
±¾ÈËÕýÔÚÓÃJava×öÒ»¸öC/S¼Ü¹¹µÄÏîÄ¿£¬
¿ÉÊÇÓÉÓÚÏîÄ¿±È½Ï´ó£¬Ç°ÆڶԼܹ¹µÄÉè¼ÆÓÈÆäÖØÒª£¬ÒòΪºóÆÚ¿ÉÄÜËæʱ»á¼Ó¸ö¹¦ÄÜ»òÕßÈ¥µôijЩ¹¦ÄÜ¡£
ËùÒÔÌصØÑ°ÇóÈçºÎÉè¼ÆC/SµÄ¼Ü¹¹Ê¹³ÌÐò¸ü¼ÓÃæÏò¶ÔÏó¸ü¼ÓÒ×ÓÚά ......
ΪʲôHTMLÒÔ¼°Ò»Ð©ÆäËü±êÇ©»áÏÔʾһЩÌض¨±íÏÖÐÎʽÄØ£¿ÈçHTMLÖеĻ»ÐбêÇ©<BR/>ÔڵײãÊÇÔõÑùʵÏÖµÄÄØ£¿ÏÖʵµÄÔÀíÊÇʲôÄØ
È¥W3C¹Ù·½ÍøÕ¾ÉÏ£¬¿´¿´°É£¡ÎÒÏëÒ»¿´Äã¾ÍÃ÷°×ÁË
ÎҲºͱàÒëÔÀíÓйأ¬ä¯ÀÀÆ÷Àï¿É ......