javaµÄÎÊÌâ ¼±¼±£¡!
ÎÒÔÚeclipseÖÐдÁËÒ»¸ö²¥·ÅÒôÀÖµÄÀ࣬²¢°ÑÒôÀÖÎļþºÍÀàÎļþ·ÅÔÚÁËÒ»Æ𣬽á¹ûÔËÐÐʱ£¬³öÏÖ´íÎó£¬ËµÊÇÒôÀÖÎļþÄǸöÊǿյģ¬µ«ÊÇÔÚjcreatorÓÃͬÑùµÄ·½·¨½á¹ûÊÇ¿ÉÒÔÔËÐеģ¬ÇëÇó¸ß˵ָ½Ì£¬¸æËßΪʲô£¿¼±
ÄãÈôÊÇÔÚWindowsÏ£¬Çë×¢Ò⣺
EclipseµÄÎļþ¼Ð·Ö¸ô·ûºÍUnix/LiunxÒ»ÑùÊÇ /,¶ø²»ÊÇWindows×ÔÓé×ÔÀÖµÄ \;
ÈçÄãµÄÎļþÔÚWindowsϵÄλÖÃÊÇ D:\music.mp3,
ÄÇôÔÚEclipseÔڵĴúÂëµÄÎļþÓ¦¸ÃÊÇ "D:/music.mp3" ¡£
·¹ý...°ï¶¥.
»Ø¸ö¶¥
³ÌÐòÔõôдµÄ£¿
Ŀ¼½á¹¹ÊÇʲôÑùµÄ£¿
Èç¹ûÄãµÄĿ¼ûд´íµÄ»°£¬
ÊÇ·ñÓõÄJMF£¬Èç¹ûÊǵĻ°°²×°JMFÔËÐл·¾³
ÍøÉÏÕÒÕÒ
·¹ý°ï¶¥
°ÑÂë×ÓÌù³öÀ´Èôó¼ÒΪÄãÏëÏë°ì·¨°É¡£
·¾¶²»¶Ô°É
public naoZhong(){
URL urlForAudio=getClass().getResource("/china.mid");
System.out.println("´òÓ¡³öurlForAudio¶ÔÏóµÄÖµ£º" + urlForAudio);
Õâ¸öÊÇ·¾¶£¬ÀàÎļþºÍÒôÀÖÎļþ·ÅÔÚÒ»Æð
·¾¶ÉèÖÃÎÊÌâ
¶ø²»ÊÇWindows×ÔÓé×ÔÀÖµÄ \ ºÇºÇ£¬Õâ¾ä»°ÓÐÒâ˼¡£¡£
ÄãÊDz»ÊÇÁ¬½Ó´íÎó°¡£¬ÎÒµÄͼƬҲ²»³öÀ´
·¾¶ÎÊÌâ
/china.mid
°Ñ '/' È¥µô
»òÊÇÓÃ getAudioClip(getCodeBase(),"china.mid ");
·¹ý£¬learning
1¥˵µÄ²»´í
°Ñ '/' È¥µô Ò²ÊÇÒ»ÑùµÄЧ¹ûѽ
´ó¼Ò°ï°ïæ.ÏÈллÁË
ÊÇÒòΪÄãµÄ*.midÎļþûÓдÓsrcĿ¼ÏÂÃ濼µ½binÏÂÃæÈ¥¡£
Ïà¹ØÎÊ´ð£º
ÎÒÏë×ö¹»¹ºÎï³µÓÃsession µ«ÊDz»ÖªµÀÔõô»ñÈ¡¹ºÂòÊýÁ¿ ËÓоßÌåµÄ´úÂëÂð Ï£ÍûÄܸîÉá
ÏÂÃæÊǹºÎï³µµÄºËÐÄ´úÂë
ÓÐÁËÕâ¸ö ¾ÍÓ¦¸ÃÄܹ»×ö³öÀ´°É
Java code:
public void doPost(HttpServletRequest reque ......
¹¤×÷µØµã£ºÉϺ£ÕŽ
ѧÀúÒªÇ󣺴󱾻òÒÔÉÏ
רҵҪÇ󣺼ÆËã»úÏà¹Øרҵ
Ó¢ÓÊìÁ·£¨ÃÀ¹úÏîÄ¿£¬Ó¢Ó﹤×÷»·¾³£¬Ó¢ÓïÊDZØÐ룩
¼òÀúͶµÝ£ºwendy_qian@163.com
MSN£ºwendydzmm@hotmail.com
......
×Ö·ûÁ÷µÄ¶ÁºÍд×îÖÕÔڵײ㶼ÊÇͨ¹ý×Ö½ÚÁ÷À´Íê³ÉµÄÂ𣿡¡¶ÁдÎı¾Îļþ×Ö·ûÁ÷Ó¦¸Ã¾Í¿ÉÒÔÁË°É¡£¡£
¸÷λ´ó¸ç´ó½ã°ï°ïæ°¢
JavaÁ÷°üÀ¨×Ö½ÚÁ÷ºÍ×Ö·ûÁ÷£¬×Ö½ÚÁ÷ͨ¹ýIOÉ豸ÒÔ×Ö½ÚÊý¾ÝµÄ·½Ê½¶ÁÈ룬¶ø×Ö·ûÁ÷ÔòÊÇͨ¹ý×Ö½ÚÁ÷ ......
²éAPI£¬¿´µ½FeatrueFactoryÓÐÕâ¸ö·½·¨
public Feature createPolyLine(double[][] thePoints,
R ......
Âé·³´ó¼Ò±êÃ÷ÏÂÏÂÃæµÄ½Ó¿ÚÊÇ£ºÓÐÐòΨһ²»Öظ´µÄ»¹ÊÇÎÞÐòΨһ¿ÉÖظ´µÄÄØ
È磺Set£º´æ´¢¶ÔÏóÔªËØ£¬²»ÐèÒª±£³ÖÌض¨Ë³Ðò£¬²»Öظ´
List£º
Map£º
Vector£º
HashSet£ ......