JavaScriptº¯ÊýÒ»¸öºÜÆæ¹ÖµÄÎÊÌâ - Java / Java EE
ÔÚJSPÒ³ÃæÓÐÒ»¸ö<input type="hidden" name="index" value="0">/>¿Ø¼þ
µ±ÎÒÓÃÏÂÃæµÄJavaScriptº¯Êý¸Ä±äÆävalueµÄÖµµÄʱºò Èç¹ûÂú×ãÌõ¼þ£¨¼´i>=3µÄʱºò£©ÎªÊ²Ã´valueµÄÖµ»á±ä³É"3/"ûÔËÐÐÒ»´Înextº¯Êý¾ÍÔÚºóÃæ¼Ó¸ö"/"£¬ÎªÊ²Ã´ÄØ£¿
function next()
{
var i = document.getElementById("index").value;
if(parseInt(i)>=3)
return 0;
else{
i=parseInt(i)+1;
document.getElementById("index").value=i;
alert(i);
return 0;
}
}
<input type="hidden" name="index" value="0">/>
ºìÉ«²¿·ÖÊǶàÓàµÄ°É
¶øÇÒÄãµÄ³ÌÐòµ½ÁË3Ö®ºó¾Í²»»áÔÙ¼ÓÁË
µ½3Ö®ºóÊDz»»áÔÙ¼ÓÁË µ«ÊÇËû¸øÎÒ¼ÓµÄ"/" Ò²¾ÍÊDZä³É"3/"ÁË
¿´ÎÒһ¥Ìû×Ó ÄãhiddenµÄ½áβÊÇ >/> ¶àÁËÒ»¸ö¼âÀ¨ºÅ
<input type="hidden" name="index" value="0">/>Õâ¸öÎÒ´ò´íÁË ÎÒ³ÌÐòÉÏÊÇ
<input type="hidden" name="index" value="0"/>
Õâ¸öÎÒŪÁËÒ»ÏÂÎçÁË ¶¼Ã»ÕÒµ½ÄÄÀïµÄ벡£¬Âú×ãÌõ¼þÒÔºóÖ±½Ór
Ïà¹ØÎÊ´ð£º
ÎÒÒѾ°´Õս̳ÌÉÏÅäÖÃtomcatµÄserver.xml
<Context path = "/POS" docBase = "POS" debug = "5" reloadable = "true" crossContext = "true" workDir = &quo ......
±¾ÈËÕýÔÚÓÃJava×öÒ»¸öC/S¼Ü¹¹µÄÏîÄ¿£¬
¿ÉÊÇÓÉÓÚÏîÄ¿±È½Ï´ó£¬Ç°ÆڶԼܹ¹µÄÉè¼ÆÓÈÆäÖØÒª£¬ÒòΪºóÆÚ¿ÉÄÜËæʱ»á¼Ó¸ö¹¦ÄÜ»òÕßÈ¥µôijЩ¹¦ÄÜ¡£
ËùÒÔÌصØÑ°ÇóÈçºÎÉè¼ÆC/SµÄ¼Ü¹¹Ê¹³ÌÐò¸ü¼ÓÃæÏò¶ÔÏó¸ü¼ÓÒ×ÓÚά ......
¸÷·´óÏÀ¸ø¸ö˼·£¬²»ÊÇÔÚÏßµÄÄÇÖÖ£¬¾ÍÊÇÒ»¸ö×öÆÕͨµÄÓ¦ÓóÌÐò¡£
´Ê¿âÔõôÉú³ÉÄØ£¿
²»»á¡£
ÒýÓÃ
´Ê¿âÔõôÉú³ÉÄØ£¿
ÕÒ±¾×Öµä
ÒýÓÃ
´Ê¿âÔõôÉú³ÉÄØ£¿
Êý¾Ý¿â ºÇºÇ
ÓÃmap ¼üÖµ¶ÔÓ¦
Èç¹ûÓÃÊý¾Ý¿ ......
ÎÒÔÚ javaºËÐļ¼ÊõÉÏ ¿´ÁËÒ»¸ö ÀûÓà Java socket emailµÄÀý×Ó ¿ÉÊÇÔõôҲ ²»³É¹¦ Ϊʲô£¿
Ô´Âë
Java code:
package cn.com.test.email;
import java.awt.GridBagLayout;
import java.awt.event.Action ......
JSPÖÐÒª´ÓÊý¾Ý¿âÀïÃæ¶ÁÈ¡Êý¾Ý ÿҳÏÔʾ5ÌõÊý¾Ý£¬Òª½øÐзҳ£¬»¹Òª·µ»ØÇ°Ò»Ò³ ¸ÃÔõôʵÏÖ°¡
ÓõÄʲôÊý¾Ý¿âÄØ£¿£¿£¿
MYSQL
....лл ÎÒÏÈ¿´¿´´úÂë
http://my.donews.com/benz/2006/10/21/YnmQXKsKWNgKiTJ ......