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
Ïà¹ØÎÊ´ð£º
ÈçÌ⣬C/C++ÖеÄexeclÔõôµ÷ÓÃдºÃµÄjava³ÌÐò£¬
execl("/opt/java1.5/bin/java","MyClass",NULL);
ÕâÑùµÄ²»ÐÐŶ¡£
²»»á.
ÔËÐÐjava³ÌÐò
ÕÒ¹¤¾ß²é¿´Ò»ÏÂÄǸö³ÌÐòµÄÃüÁîÐÐ
ËÑË÷Ï£ºjni ......
ÔõôÔÚ¿ØÖÆ̨ÖÐÊäÈëÀàËÆÏÂÃæµÄÐÅÏ¢£º
s1234 50
s1235 80
s1234 90
s1234 40
s1236 90
ÿµ±»Ø³µÊ± ......
¸÷·´óÏÀ¸ø¸ö˼·£¬²»ÊÇÔÚÏßµÄÄÇÖÖ£¬¾ÍÊÇÒ»¸ö×öÆÕͨµÄÓ¦ÓóÌÐò¡£
´Ê¿âÔõôÉú³ÉÄØ£¿
²»»á¡£
ÒýÓÃ
´Ê¿âÔõôÉú³ÉÄØ£¿
ÕÒ±¾×Öµä
ÒýÓÃ
´Ê¿âÔõôÉú³ÉÄØ£¿
Êý¾Ý¿â ºÇºÇ
ÓÃmap ¼üÖµ¶ÔÓ¦
Èç¹ûÓÃÊý¾Ý¿ ......
<?xml version="1.0" encoding="utf-8" ?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical&q ......
tableÔõô°ó¶¨Êý¾Ý¿â£¬²¢ÇÒÓÃJavaScriptʵÏÖ·Ò³¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£JavaScriptÄÜÏòJSPÒ³Ãæ´«µÝ²ÎÊýÂð
Äã˵µÄÎÊÌâÓеãÄǸö¡£¡££¬²»ºÃ»Ø´ð¡£¡£¡£¡£
jspÖÐtableÊÇÐèÒªhtml´úÂëÓëÒ³Ãæ¶Ë»ñÈ¡Êý¾Ý¿â²éѯºóµÄÐÅÏ¢½øÐÐ ......