jsp¶¯Ì¬ºÏ²¢ÐУ¬ÐµÄÒ»¸öСÎÊÌâ - Java / Web ¿ª·¢
¾ÍÊÇÈç¹û Ôںϲ¢ÐÐÀïÒѾĬÈÏÓÐÖµµÄ»°£¬ÎÒÔÚÎı¾¿òÖÐÊäÈëµÄʱºòÈçºÎÏà¼Ó¡£ÏÖÔÚµÄЧ¹ûÊÇ£¬Ôںϲ¢ÐÐÖÐĬÈÏΪ0 µÄʱºòÏà¼ÓÊÇÕý³£µÄ¡£
<html>
<head>
</head>
<script>
function countme(obj,div_id,pre_id){
if(obj.value!=''){
//Ç°Ò»¸öÖµ
var preval = document.getElementById(pre_id).value;
//µ±Ç°divÖµ
var t = document.getElementById(div_id+'_value').value;
//ÏÔʾ
document.getElementById(div_id).innerHTML = parseInt(t) + parseInt(obj.value) - parseInt(preval);
//¸³Ç°Ò»¸öÖµ
document.getElementById(pre_id).value = obj.value;
//¸³µ±Ç°divÖµ
document.getElementById(div_id+'_value').value = parseInt(t) + parseInt(obj.value) - parseInt(preval);
}
}
</script>
<body>
<form>
<table colspan="1" border="1">
<tr>
<td>id1aaa</td>
<td>id2aaa</td>
<td>textaaa</td>
<td>totalaaa</td>
</tr>
<tr>
<td>id1</td>
<td>id2</td>
<td><input type="hidden" id="pre_id1_id2_text1_value" value="0"/><input type="text" on
Ïà¹ØÎÊ´ð£º
µ±ÖªµÀÒ»¸öÈÕÆÚ£¬ÈçºÎ°ÑÕâ¸öÈÕÆÚËùÔÚÑ®µÄÇ°ºóÁ½¸öÈÕÆÚÈ¡³ö
±ÈÈçÊäÈë20090905£¬¾ÍÊäÈë20090901 20090910
Êä³ö20090901 20090910
È¡µÃÌìÊýºó×÷Ò»ÏÂÅжÏÔÙ°ÑÕâ¸ö·½·¨ÓÃÏÂvoid set(int field, int value)
......
¸÷·´óÏÀ¸ø¸ö˼·£¬²»ÊÇÔÚÏßµÄÄÇÖÖ£¬¾ÍÊÇÒ»¸ö×öÆÕͨµÄÓ¦ÓóÌÐò¡£
´Ê¿âÔõôÉú³ÉÄØ£¿
²»»á¡£
ÒýÓÃ
´Ê¿âÔõôÉú³ÉÄØ£¿
ÕÒ±¾×Öµä
ÒýÓÃ
´Ê¿âÔõôÉú³ÉÄØ£¿
Êý¾Ý¿â ºÇºÇ
ÓÃmap ¼üÖµ¶ÔÓ¦
Èç¹ûÓÃÊý¾Ý¿ ......
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 52 in the jsp file: /vip_info.jsp
ÕË cannot be resolved
49: <table border="1& ......
id name datetime
1 a 2010-05-13 10:15:00
2 b 2010-05-14 09:10:00
3 d 2010-05-14 10:10:00
ÈçºÎ½«¾àÀëÄ¿Ç°×î½üµÄÄǸö¼Ç¼µÄname ¸üÐÂΪ¡°x¡±ÄØ
лл¿© °¡ ºÇºÇ
update table_n ......