-
Spring mvc ´íÎóÀ¹½Ø ÅäÖÃ
SpringmvcÒì³£À¹½ØÅäÖÃ<value>/WEB-INF/languages/core_admin/messages</value><beanid="messageSource"class="org.springframework.context.support.ReloadableResourceBundleMessageSource">????<p...
1105
ÈÈ¶È -
TypeError: document.body is null_js±¨´í½â¾ö°ì·¨
ZeroClipboardʵÏÖ¶à¸öä¯ÀÀÆ÷¼æÈݵĸ´ÖÆÎı¾µ½¼ôÌù°åµÄ¹¦ÄÜhttp://my.oschina.net/xshuai/blog/411399ZeroClipboardʵÏÖ¶à¸öä¯ÀÀÆ÷¼æÈݵĸ´ÖÆÎı¾µ½¼ôÌù°åµÄ¹¦Äܱ¾ÈËÔÚÏîÄ¿ÖÐʹÓõÄjs°æ±¾¡£ÎªÁË·½±ã´ó¼ÒÏÂÔØ¡£Ö±½ÓÕ³Ìù´úÂë¸ø´ó¼Ò¿´¡£°æ±¾ÊÇ1.2.0?1234567891011121314151617181920212223242526272829...
455
ÈÈ¶È -
Eclipse°²×°maven²å¼þÓйØÎÊÌâ
Eclipse°²×°maven²å¼þÎÊÌ⡣ͨ¹ýÔÚEclipseMarketÉÏÏÂÔصÄMaven²å¼þ£¬ÔÚʹÓÃʱ·¢ÏÖ»á¶Ô1<executions>2??<execution>?ÕâÑùµÄ±íÇ鱨´íÎó£¬ÔÒòÊÇMaven²å¼þµÄÎÊÌâ¡£ÏÖ½«½â¾ö·½°¸×ö¸ö¼òµ¥µÄ˵Ã÷£º1.ɾ³ýÔÀ´µÄMaven²å¼þ£¬ÔÚÏß°²×°ÐµIJå¼þ£ºname:m2eclipselocation:http://download.eclip...
70
ÈÈ¶È -
androidÍÆÑÓ½øÈëÖ÷½çÃæ´úÂë Ô´Âë
androidÑÓ³Ù½øÈëÖ÷½çÃæ´úÂëÔ´Âë?ÑÓ³Ù½øÈëÖ÷½çÃæµÄ¹¦ÄÜ£¬Ö÷ÒªÓõ½HandlerºÍRunnable£¬´úÂëÈçÏ£º?package?com.zx.app;import?android.app.Activity;import?android.content.Intent;import?android.os.Bundle;import?android.os.Handler;import?android....
490
ÈÈ¶È -
Android ¾¹ý intent´«Öµ»ñµÃnull
Androidͨ¹ýintent´«Öµ»ñµÃnullÎÒÔÚͨ¹ýintent»ñµÃ´«µÝ¶ÒÏÖ¹ýµÄʱºò±¨´í£¬¿ÕÖ¸Õë,ÎÒÊÇgetMap·½·¨½øÐд«Öµ£¬´úÂëÈçÏÂ123456789publicvoidgetMap(Viewview){?????????Intenti=newIntent(this,BreweryYourTopBeers.class);????????Log.d("map",e.beerBreweryId)...
449
ÈÈ¶È -
android¿ª·¢ÖÐÔõôʹÓà alertDialog´ÓlistViewÖÐɾ³ýÊý¾Ý
android¿ª·¢ÖÐÈçºÎʹÓÃalertDialog´ÓlistViewÖÐɾ³ýÊý¾Ý£¿ÎÒÏÖÔÚʹÓÃlistViewչʾÁ˺ܶàµÄÅäÖÃÐÅÏ¢£¬ÎÒÏÖÔÚÏëÔÚµã»÷ÆäÖÐÒ»ÌõµÄʱºòÌî³öalertDialog,µã»÷È·ÈϺó¾Íɾ³ý¸ÃÌõÊý¾Ý£¬£¨ArrayAdapter?£¬ArrayList£¬listViewÈ«²¿É¾³ý£©£¬ÎÒÖªµÀÔÚÏÂÃæµÄonItemLongClick?·½·¨ÖвÎÊýarg2?ÊÇÑ¡ÖеÄÐòºÅ£¬µ«ÊÇÎÒ²»ÖªµÀÈçºÎ¼ÌÐø´¦ÀíÏÂÈ¥12...
70
ÈÈ¶È -
java4android (static¹Ø¼ü×ֵŦÓÃ)
java4android(static¹Ø¼ü×ÖµÄ×÷ÓÃ)½ñÌìÓÐÐÒ±»ÕÙ»ØĸУ¸ø¼´½«±ÏÒµµÄѧµÜѧÃÃÃǽ²ÎÒÕâÁ½ÄêµÄ¹¤×÷Ê·£¬¿´ÁËÏÂĸУûɶÌرðµÄ±ä»¯£¬¾ÍÊÇÇÞÊÒ¶¼°²ÁË¿Õµ÷£¬Ñ§ÃÃÃǶ¼·Ç³£Æ¯ÁÁ¶øÒÑ¡£¡£ºÃÁ˲»³¶µ°ÁË£¬ËµÏ½ñÌìµÄÖ÷Ìâ°É¡£ÕâЩÌìÎÒÔÚÉî¶È¶¨ÖÆÓï·¨¸ßÁÁ¹¦ÄܵÄͬʱ·¢ÏÖÁ˲©¿ÍÔ°ÌṩµÄһЩÓÐÒâ˼µÄº¯Êý£¬ÉõÖÁÓм¸¸ö²©¿ÍÔ°¶¼Ã»Óõ½£¬ÎÒÒ²²»ÖªµÀÔõô²ÅÄÜ´¥·¢ÄÇЩ¹¦ÄÜ¡£¡£´ò¿ªÕâ¸öjs¾Í¿ÉÒÔ¿´µ½ºÜ¶àºÃÓõĶ«Î÷ÁË£¬ËäȻдµÄ²»Ôõô...
13
ÈÈ¶È -
Android¶¥ÓÃGridViewʵÏ־Ź¬¸ñµÄÁ½ÖÖ·½·¨
AndroidÖÐÓÃGridViewʵÏ־Ź¬¸ñµÄÁ½ÖÖ·½·¨1.´«Í³°ì·¨£ºÊµÏÖÒ»¸ö¼Ì³ÐBaseAdapterµÄImageAdapterjava´úÂëÈçÏ£ºpackagecom.test;importandroid.app.Activity;importandroid.content.Context;importandroid.os.Bundle;importandroid.view.LayoutInfla...
69
ÈÈ¶È -
Android¿ª·¢ÇÀÊÖ×ÊÁÏ£¨110¸ö£©
Android¿ª·¢ÈÈÃÅ×ÊÁÏ£¨110¸ö£©ÔÚÒƶ¯¿ª·¢Èç»ðÈçݱµÄ½ñÌ죬Android¿ª·¢Êг¡¹ãÀ«£¬ÊÇÄ¿Ç°Êг¡Õ¼ÓÐÂÊ×î¸ßµÄÖÇÄÜÊÖ»ú²Ù×÷ϵͳ¡£Õâ¸öÎĵµÀïÕûÀí110¸öÓÅÖʵÄAndroid¿ª·¢×ÊÁÏ£¬ÍøÉϵÄ×ÊÁÏÖڶ࣬²Î²î²»Æ룬Ȼ¶øÕâÅú×ÊÁÏÈ´ÊǾ¹ý¾«ÐÄÕûÀíµÄ£¬ÏÂÔØÁ¿¸ß£¬ºÃÆÀÖڶࡣ¸½¼þ½Ï¶à£¬ÎÞ·¨½«¸½¼þÒ»Ò»·ÖÏí¸ø´ó¼Ò£¬Ö»ÄÜÌṩ×ÊÁϵØÖ·ÁË¡£Ï£Íû¶Ô´ó¼ÒÓаïÖú£¡ÏÂÔØÖÐÐÄÍêÕû¸½¼þÏÂÔصØÖ·£ºhttp://down.51cto.c...
51
ÈÈ¶È -
maven³ï½¨springmvc+spring+mybatisʵÀý
maven´î½¨springmvc+spring+mybatisʵÀý×î½ü×öÁ˸ömaven¹ÜÀíµÄspringmvc+spring+mybatis£¬»¹Óõ½ÁË°¢Àï°Í°ÍµÄfastjsonºÍdruidÁ¬½Ó³Ø£¬ÅäÖÃÎļþÈçÏÂpom.xmlÎļþ[html]viewplaincopy<?xmlversion="1.0"encoding="UTF-8"?><projectxmlns="http://m...
208
ÈÈ¶È -
MySQL 5.6 rootÃÜÂ붪µô£¬Ê¹ÓÃmysqld -skip-grant-tables
MySQL5.6rootÃÜÂ붪ʧ£¬Ê¹ÓÃmysqld--skip-grant-tablesMySQL5.6rootÃÜÂ붪ʧ£¬£¨windowƽ̨£©Ê¹ÓÃmysqld–skip-grant-tablesÆô¶¯MySQL·þÎñ£¬³öÏÖ¾¯¸æ£º1[Warning]TIMESTAMPwithimplicitDEFAULTvalueisdeprecated.Pleaseuse--explicit_defaul...
244
ÈÈ¶È -
AndroidÖÐͼƬµÄ´¦Ö㨷ŴóËõС£¬È¥É«£¬×ª»»¸ñʽ£¬Ôö¼ÓˮӡµÈ£©
AndroidÖÐͼƬµÄ´¦Àí£¨·Å´óËõС£¬È¥É«£¬×ª»»¸ñʽ£¬Ôö¼ÓˮӡµÈ£©¶àÕÅͼƬËĸö·½Î»µÄͼƬºÏ³É£¬¸Ä±äbitmap´óС£¬Í¼Æ¬È¥É«µÈ¹¦ÄÜ??????package?com.dzh.operateimage;??import?android.graphics.Bitmap;??import?android.graphics.Bitmap.Config;??import?android.graphics.B...
60
ÈÈ¶È -
android Homeʼþ¼¯½õ
androidHomeʼþ»ã×Ü·½·¨Ò»£ºandroid4.0ÒÔºóÎÞ·¨Í¨¹ý¸ü¸ÄÒ³ÃæµÄÀàÐÍÀ´¼àÌýhome¼üÁË¡£Èç¹û²»¸ÄÔ´ÂëµÄÇé¿öÏ£¬ÏÂÃæµÄ·½Ê½¿ÉÒԺܺõļàÌýµ½home¼ü£¨Ç°ÌáÊÇÊÖ»ú´òϵͳÈÕÖ¾£¬ÓÐЩÊÖ»úÈÕÖ¾±»¹Ø±ÕÁË£¨È绪ΪÈÙÒ«£©¾ÍÎÞ·¨¼àÌýÁË£©¡£01protected?void?onResume()02????{03???????super.onResume();04???????isTesting=tru...
20
ÈÈ¶È -
AndroidÐýÅ¥µ¥»÷ʼþµÄËÄÖÖ³£ÓÃд·¨×ܽá
Android°´Å¥µ¥»÷ʼþµÄËÄÖÖ³£ÓÃд·¨×ܽáºÜ¶àѧϰAndroid³ÌÐòÉè¼ÆµÄÈ˶¼»á·¢ÏÖÿ¸öÈ˶ԴúÂëµÄд·¨¶¼Óв»Í¬µÄÆ«ºÃ£¬±È½ÏÃ÷ÏԵľÍÊǶԿؼþÏìӦʼþµÄд·¨µÄ²»Í¬¡£Òò´Ë±¾ÎľͰÑÕâЩд·¨×ܽáһϣ¬±È½Ïϸ÷ÖÖд·¨µÄÓÅÁÓ£¬Ï£Íû¶Ô´ó¼ÒÁé»îµØÑ¡Ôñ±àÂ뷽ʽ¿ÉÒÔÓÐÒ»¶¨µÄ²Î¿¼½è¼ø¼ÛÖµ¡£xmlÎļþ´úÂëÈçÏ£º?1234567891011<Buttonandroid:id="@+id/button1"android...
63
ÈÈ¶È -
Android×Ô¶¨Òå½ø¶ÈÌõÉ«²Ê
Android×Ô¶¨Òå½ø¶ÈÌõÑÕÉ«ÏÈ¿´Ð§¹ûͼ£ºÀÏÊÇÌáЩ¸÷ÖÖÐèÇóÎÊÌ⣬ÎÒ¾õµÃϵͳĬÈϵÄÑÕɫͦºÃµÄ£¬µ«ÊÇPk²»¹ý£¬Ë½ÐÎÒÃDz»ÊÇÐèÇóÈËÔ±ÄØ£¬¸Ä°É£¡Õâ¸öû·¨ÁËÖ»ÄÜ¿´Ô´ÂëÁË£¬»¹ºÃÏÂÔØÁËÔ´Â룬sources\base\core\res\res\ÏÂÓ¦Óо¡ÓУ¬Ð޸Ľø¶ÈÌõÑÕÉ«Ö»ÄÜÕÒprogress£¬ÒòΪÊǸıäÑùʽ£¬Ê×ÏÈÕÒstyles.xmlÕÒµ½xmlºó£¬½øÈ¥ÕÒµ½£º?12345678910<style?name="...
10
ÈÈ¶È -
AndroidΪListViewµÄItemÉèÁ¢²»Í¬µÄ²¼¾Ö
AndroidΪListViewµÄItemÉèÖò»Í¬µÄ²¼¾Öpackagecc.testlistview;?importjava.util.ArrayList;?importjava.util.HashMap;?importandroid.os.Bundle;?importandroid.view.View;?importandroid.widget.AdapterView;?importandroi...
12
ÈÈ¶È -
Eclipse´î½¨SSH£¨Struts2+Spring3+Hibernate3£©¿ò¼ÜÏîÄ¿¿Î³Ì
Eclipse´î½¨SSH£¨Struts2+Spring3+Hibernate3£©¿ò¼ÜÏîÄ¿½Ì³Ì±¾ÎÄÌá¸Ù£º±¾ÎÄͨ¹ýÒ»¸öÓû§×¢²áµÄʵÀý½²½âSSHµÄÕûºÏ¡£´´½¨StrutsÏîÄ¿£¬ÕûºÏHibernate£¬ÕûºÏSpring¡£×îºó×ܽáÈçºÎÊìÁ·´´½¨SSHÏîÄ¿¡£½öÊÇ´´½¨SSHÏîÄ¿£¬¶ÔÓÚÆäËûµÄÀ©Õ¹ÀýÈçStrutsµÄ¹ú¼Ê»¯£¬HibernateµÄ»º´æÓÅ»¯£¬SpringµÄAOPµÈ£¬±¾²©ÎÄÉæ¼°²»µ½¡£Ïëѧϰ¸ü¶àµÄ¶«Î÷ÇëËÑË÷ÆäËû²©...
11
ÈÈ¶È -
Android´´°ìºÍɾ³ýÎļþ¼ÐºÍÎļþ
Android´´½¨ºÍɾ³ýÎļþ¼ÐºÍÎļþÕâ¸öÒ²±È½Ï¼òµ¥ÁË£¬Ö±½ÓÉÏ´úÂë1/**2*´´½¨Ä¿Â¼Îļþ3*/4publicstaticvoidcreatePath(Stringpath){5Filefile=newFile(path);6if(!file.exists()){7file.mkdir();8}9}ɾ³ýÎļþ±È½Ï¼òµ¥£¬µ«ÊÇɾ³ýÎļþ¼Ð¾Í²»ÊÇÄÇô¼òµ¥ÁË£¬ÌرðÊÇÀïÃ滹°üº¬ºÜ¶à×ÓÎļþ¡£ÄãÐèÒªÖðÌõµÄɾ³ý¡£²é¿´Ô´...
42
ÈÈ¶È -
AndroidÊÖ»úÖеÚÈý·½Ç©×ÖÓ¦ÓóÌÐòÎÞ·¨»ñµÃµÄpermission
AndroidÊÖ»úÖеÚÈý·½Ç©ÃûÓ¦ÓóÌÐòÎÞ·¨»ñµÃµÄpermissionAndroidÊÖ»úÖУ¬ÓÐЩpermission²¢²»ÊÇÔÚÓ¦ÓóÌÐòµÄmainfestÎļþÖÐÉùÃ÷¾Í¿ÉÒÔ»ñµÃ£¬ËüÃÇ»¹ºÍÊÇ·ñÊǵÚÈý·½Ç©Ãû¼°Ç©ÃûµÄÀàÐÍÓйØϵ¡£µäÐ͵Äandroid.permission.INSTALL_PACKAGES³ýÁËÐèÒªÔÚmainfestÎļþÖÐÉùÃ÷£¬»¹ÐèÒªÓ¦ÓóÌÐòÊÇϵͳµÄPlatformÇ©Ãû¡£½ñÌìÌØÒâдһ²âÊÔ³ÌÐòÀ´²âÊÔÄÄ...
77
ÈÈ¶È -
android»ñȡװÅäµÄÓ¦ÓóÌÐò
android»ñÈ¡°²×°µÄÓ¦ÓóÌÐòÔÚgoogleÉÏÊäÈëÒÔÉϵĹؼü×Ö+android£¬¿ÉÒÔËѵ½µÄ´úÂë:?1List<PackageInfo>packs=getPackageManager().getInstalledPackages(0);?ËäÈ»£¬ÓÐЩ´úÂëºÅ³Æ¿ÉÒÔ¹ýÂ˵ôϵͳ×ÔÉíµÄÓ¦ÓóÌÐò,µ«ÊÇֻҪϸ¿´´úÂë¾Í»á·¢ÏÖ£¬ºÃÏñÀïÃæµÄÄǸö²¼¶û±äÁ¿Ã»ÓÐÆðµ½Ê²Ã´¹ýÂ˵Ä×÷Ó᣷½·¨Ò»:ͨ¹ý»ñÈ¡µÄ°²×°°ü(°üÀ¨...
82
ÈȶÈ