Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

(ת)struts±êÇ©Öв»ÄܼÓÈëjava´úÂë?

http://blog.sina.com.cn/s/blog_49605b46010007o2.html
<div name='endDateHourDiv<%=i%>' onclick="changeSelect('<%=i%>')">
    <html:select property="endDateHour" onclick="Change(this.value,'<%=i%>')">
     <html:option value="">ʱ</html:option>
     <html:options collection="endDateHourList" property="id" labelProperty="name"/>
    </html:select></div>
Õâ¶Î´úÂëÔËÐÐʱ£¬div±êÇ©ÖеÄ<%=i%>¿ÉÒԳɹ¦½âÎö³É¾ßÌåÖµ£¬µ«select±êÇ©ÖÐ onclickºóÃæµÄ·½·¨ ½âÎöµÄ½á¹ûÊÇ°Ñ<%=i%> µ±³ÉÁËÒ»¸ö×Ö·û´®£¬¶ø²¢²»ÊÇiµÄÖµ£¬ÕâÊdzÌÐòÔËÐкóµÄ½á¹û
<div name='endDateHourDiv2' onclick="changeSelect('2')">
    <select name="endDateHour" onclick="Change(this.value,'<%=i%>')">
     <option value="">ʱ</option>
     <option value="00">00</option>
</select></div>
ÕâÊÇʲôԭÒòÄØ£¿ÔÚÎÒÓ¡ÏóÖкÃÏñûÓÐstruts±êÇ©ÖмÓÈëjava´úÂë²»ÄܽâÎöµÄÎÊÌâѽ£¬µ«ÊÂʵÇé¿ö¾ÍÊÇÈç´Ë¡£
ºóÀ´£¬¾­¹ý¶àÖÖ³¢ÊÔ£¬ÖÕÓÚ½â¾öÁËÎÊÌ⣬½â¾ö·½·¨ÈçÏ£º
<div name='endDateHourDiv<%=i%>' onclick="changeSelect('<%=i%>')">
<%String jf  = "Change(this.value,"+i+"%>')";%>
    <html:select property="endDateHour" onclick="<%=jf%>">
     <html:option value="">ʱ</html:option>
     <html:options collection="endDateHourList" property="id" labelProperty="name"/>
    </html:select></div>
 ½áÂÛÊÇ£¬struts±êÇ©Öв»ÊDz»ÄܼÓjava´úÂ룬¶þÊÇҪעÒâ¸ñʽ¡£Èç¹ûstruts±êÇ©ÖÐij¸öÊôÐÔµÄÖµÐèÒªÓÉjava´úÂëÀ´Ìî³ä£¬ÄÇô×îºÃÊǽ«ÐèÒªÌî³äµÄ×Ö·û´®»ò±í´ïʽÔÚÏÈÇ°ÏÈÁ¬½ÓºÃ»ò¼ÆËãºÃ£¬¸³Öµ¸øÒ»¸ö±äÁ¿£¬ÈÃÕâ¸ö±äÁ¿À´ÎªÕâ¸ö±êÇ©ÊôÐÔ¸³Öµ¡£
×¢:
    ×Ô¼ºÁ·Ï°Ê±µÄ¶Ô²ß:
    <logic:iterate id="item" indexId="rowI


Ïà¹ØÎĵµ£º

JavaÊý¾Ý½á¹¹ºÍËã·¨ Õ»Óë¶ÓÁÐ

(1)Õ»
package ChapterOne;
public class Stack {
//Õ»Êý×é
long stackArr[];
//Õ»µÄ´óС
int maxSize;
//Õ»µÄ¶¥²¿
int top;
//³õʼ»¯Ò»¸ö´óСΪsizeµÄÕ»
public Stack(int size){
maxSize = size;
stackArr = new long[size];
top = -1;
}
//³öÕ»²Ù×÷
public long pop(){
return sta ......

java »·¾³±äÁ¿ÅäÖÃ

windows xpÏÂÅäÖÃJDK»·¾³±äÁ¿£º
      1.°²×°JDK£¬°²×°¹ý³ÌÖпÉÒÔ×Ô¶¨Ò尲װĿ¼µÈÐÅÏ¢£¬ÀýÈçÎÒÃÇÑ¡Ôñ°²×°Ä¿Â¼ÎªD:\java\jdk1.5.0_08£»
¡¡ 2.°²×°Íê³Éºó£¬ÓÒ»÷“ÎҵĵçÄÔ”£¬µã»÷“ÊôÐÔ”£»
      3.Ñ¡Ôñ“¸ß¼¶”Ñ¡Ï£¬µã»÷“ ......

JavaScriptÓëJavaµÄÇø±ð

JavaScriptÊÇÒ»ÖÖͨÓõġ¢»ùÓÚÔ­Ð͵ġ¢ÃæÏò¶ÔÏóµÄ½Å±¾ÓïÑÔ£¬¶ø½Å±¾ÓïÑÔ¾ÍÊÇÖ¸¿ÉÒÔºÍHtmlÓïÑÔ»ìºÏʹÓõÄÓïÑÔ
1.JavaScriptÓëJavaµÄÇø±ð
     A. JavaScriptÊǽâÊÍÐ͵ÄÓïÑÔ£¬µ±³ÌÐòÖ´ÐеÄʱºò£¬ä¯ÀÀÆ÷Ò»±ß½âÊÍÒ»±ßÖ´ÐС£¶øJavaÊDZàÒëÐ͵ÄÓïÑÔ£¬±ØÐë¾­¹ý±àÒë²ÅÄÜÖ´ÐÐ
     B. ´úÂë ......

javaÖÐÊý×éÓëListÏ໥ת»»µÄ·½·¨

1.Listת»»³ÉΪÊý×é¡££¨ÕâÀïµÄListÊÇʵÌåÊÇArrayList)
¡¡¡¡µ÷ÓÃArrayListµÄtoArray·½·¨¡£
¡¡¡¡toArray
¡¡¡¡public <T> T[] toArray(T[] a)·µ»ØÒ»¸ö°´ÕÕÕýÈ·µÄ˳Ðò°üº¬´ËÁбíÖÐËùÓÐÔªËصÄÊý×飻·µ»ØÊý×éµÄÔËÐÐʱÀàÐ;ÍÊÇÖ¸¶¨Êý×éµÄÔËÐÐʱÀàÐÍ¡£Èç¹ûÁбíÄÜ·ÅÈëÖ¸¶¨µÄÊý×飬Ôò·µ»Ø·ÅÈë´ËÁбíÔªËصÄÊý×é¡£·ñÔò£¬½«¸ù¾ ......

javaÏß³Ì

Ï̵߳Ĵ´½¨ºÍÆô¶¯
JavaÓïÑÔÒѾ­ÄÚÖÃÁ˶àÏß³ÌÖ§³Ö£¬ËùÓÐʵÏÖRunnable½Ó¿ÚµÄÀ඼¿É±»Æô¶¯Ò»¸öÐÂỊ̈߳¬ÐÂÏ̻߳áÖ´ÐиÃʵÀýµÄrun()·½·¨£¬µ±run()·½·¨Ö´ÐÐÍê±Ïºó£¬Ï߳̾ͽáÊøÁË¡£Ò»µ©Ò»¸öÏß³ÌÖ´ÐÐÍê±Ï£¬Õâ¸öʵÀý¾Í²»ÄÜÔÙÖØÐÂÆô¶¯£¬Ö»ÄÜÖØÐÂÉú³ÉÒ»¸öÐÂʵÀý£¬ÔÙÆô¶¯Ò»¸öÐÂÏ̡߳£
ThreadÀàÊÇʵÏÖÁËRunnable½Ó¿ÚµÄÒ»¸öʵÀý£¬Ëü´ú±í ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ