2009-01-01ãã1å¹´éã®è¨äºä¸è¦§
Strutsã®htmlã¿ã°ã¯ããã¨ã©ã¼ããã£ãæã®ã¿é©ç¨ãããã¹ã¿ã¤ã«ãã¨ããã®ãæå®ãããã¨ãã§ãã¾ãã <html:text property="name" styleClass="textbox" errorStyleClass="textbox error" /> ããæ®éã®SPANãDIVã§ãã§ããªãããªã»ã»ã»ã¨ãããããèãã¦ã¿ã¾ããã çµå±ãæãã¤ããä¸çªãã¹ããªæ¹æ³ã¯ããã <span style="textbox<logic:messagesPresent property="name"> error</logic:messagesPresent>" /> æå®ããããããã£â¦
ç¾å¨æå»ã®ããªç§ãåå¾ããã®ã«ãããããããæ¹ãä½åº¦ãè¦ã¾ããã»ã»ã»ã Date date = new Date(); long now = date.getTime(); Calendar calendar = new GregorianCalendar(); long now = calendar.getTimeInMillis(); æ¥ä»ã®åå¾ãªã Date ã Calendar â¦
ä»ã®äººã®ã½ã¼ã¹ãè¦ã¦ãããããããªã®ãããã¾ããã String str = ""; for(int i = 0; i < input.length(); i++){ str += '*'; } å ¥åãããæåã * ã«ç½®ãæããå¦çã§ãã ã§ããããèããããããforæãããªãã§ãããã»ã»ã»ã char[] buf = new chaâ¦
ãããªã½ã¼ã¹ãããã¾ããã public class Sample{ private int rate; public Sample(int rate){ this.rate = rate; if(rate < 1000){ this.rate = 1000; } } } rateã1000以ä¸ãªã1000ããããããªããã°rateã§åæåã ãããããã¨ã«ãã£ã¦ãthis.rate >=â¦
Javaã®ã½ã¼ã¹ã§ããã¾ã«ãArrayListã使ã£ã¦ãããã©ãä»£å ¥ããè¦ç´ æ°ã¯æ±ºã¾ã£ã¦ãããã¨ããã®ãè¦ããã¾ãã ããããã®ãè¦ãã¨ããè¦ç´ æ°ã決ã¾ã£ã¦ãããªããå¯å¤ã®ãã®(ArrayList)ãããªãã¦åºå®ã®ãã®(é å)ã使ã£ãæ¹ãéãã¦ã¡ã¢ãªä½¿ç¨éãå°ãªãã¦â¦
ä»åãã¡ããã©30æ¬ç®ã®è¨äºãããã§ãããã ã¯ã¦ãªãã¤ã¢ãªã¼å¸æ° ã®ä»²éå ¥ãã§ãã ï¼è©³ããã¯ãkeyword:ã¯ã¦ãªãã¤ã¢ãªã¼å¸æ°ï¼ãã£ãããªã®ã§ãä»åã®è¨äºã¯ãã®ããã°ã®ä¸æè°ãª(?)ã¿ã¤ãã«ã®æå³ã«ã¤ãã¦ãæ¸ããã¨æãã¾ãã - å°å¹³ç·ã¨ããã®ã¯ããâ¦
SQLãªã©ã§å¦å®çå·ã®æå³ã§ä½¿ããã "<>"ã ããã¯ãçãããªããã¨ããæå³ã§ã¯ãªãããå°ãããã¾ãã¯å¤§ãããã¨ããæå³ãªã®ã§ããããï¼ "x 3" ã¯ã3ããå°ãããã¾ãã¯3ãã大ããã ããå¤ãããå°ããã¾ãã¯å¤§ããããªã®ã§ãçãããªããã è«ççã«â¦
IE8ã®ãã°ï¼baseã¿ã°ã¨scriptã¿ã°ã®çµã¿åããã§ç¡å¹ãªãªã¯ã¨ã¹ããçºçãã
ãµã¼ãã®ã¢ã¯ã»ã¹ãã°ãè¦ã¦ãã¦ãæè¿ãããå¤ãªURLã«å¯¾ããGETãªã¯ã¨ã¹ãããããªã¼ã¨æã£ã¦èª¿ã¹ã¦ã¿ãã¨ãããIE8ã®ãã°ãåå ã§ããã Unfortunately, since shipping IE8, we've discovered two problems in the lookahead downloader code that cause â¦
é常ãèªåã³ãããããªãã®ç¶æ ã§ããã°ãJavaããDBã®ã³ãã¯ã·ã§ã³ãã¯ãã¼ãºããã¨ãã«ãã¼ã«ããã¯ãããã«ç¸å½ããå¦çãè¡ããã¾ãã Javaã®ããã¥ã¡ã³ãã«ãããã®ãã¨ãæ¸ããã¦ãã¾ãã èªåã³ãããã¢ã¼ããç¡å¹ã«ããã¦ããå ´åãå¤æ´ãã³ãããâ¦
Firefoxç¨ã®greasemonkeyãAdd Tab Index for Googleãããã¼ã¸ã§ã³ã¢ãããã¾ããã ä»åã®ãªãªã¼ã¹ã§å®æã§ãã Add Tab Index for Google ver1.0 ãæ©è½è¿½å ã AutoPagerizeã¨ã®ä½µç¨ã«å¯¾å¿ DOMã«ãããã¼ãåå¾ããXPathã«ãããã¼ãåå¾ã«å¤æ´ ãä¸å ·åâ¦
以åãAdd Tab Index for Googleãä½ã£ã¦ããã¨ãã«ããããªãã°ãããã¾ããã ãªãã§ãããªã¨ããã«ãã©ã¼ã«ã¹ãã»ã»ã»ã ä¸æè°ã«æã£ã¦èª¿ã¹ã¦ã¿ãã¨ããããã©ã¼ã«ã¹ãå½ã¦ãããã®ã¯aã¿ã°ã«éããªãããã§ãã ãã£ã¨è¨ãã¨ãã©ã®ã¿ã°ã«ããã©ã¼ã«ã¹ã¯â¦
ä»äºã§ä»ã®äººãæ¸ããã½ã¼ã¹ã®ãã§ãã¯ããã¦ãããã§ããããã®ä¸ã«ãããªã®ãããã¾ããã public UserDTO selectUser(UserDTO[] userDTO){ Vector<Object> vector = new Vector<Object>(); for(int i = 0; i < userDTO.length; i++){ if(æ¡ä»¶ãæºããã¦ããã){ vector.ad</object></object>â¦
Strutsã使ã£ã¦ãã¦ããåé¡ã«ãªããã¨ã¨ãã¦ããã使ãéã«ãã§ãã¯ããç¶æ ãããã©ã«ãã«ãããã¨ãã§ããªãã¨ããã®ãããã¾ãããã㯠ãã©ã¦ã¶ã¯ãã§ãã¯ããããã®ãããªã¯ã¨ã¹ããã©ã¡ã¼ã¿ã¨ãã¦éä¿¡ããªã Strutsã¯ãã©ã¡ã¼ã¿ã«ãªãå ´åã¯ActionForâ¦
ä»æ¥ããã¼ã¿ãã¼ã¹ã«å ¥ããå¤ãNULLã空æåãã§ã¡ãã£ã¨ããè«äºã«ã å人çã«ã¯ããã¼ã¿ããªããã ãã"NULL"ãã ã¨æã£ããã§ãããã空æåã§ããããããã¨ã決ã¾ãã¯ãªããã©ä»ã空æåã ããããã空æåã§ãã¨ããäºå¯¾ä¸ã§è² ãã¾ããã NULLæ²æ» å§â¦
ç¥ã£ã¦ãã人ãå¤ããã ãå°ãªããã ããããããã¾ãããã Googleã§ãã¤ãã (ä¼ç¥¨çªå·)ãã¨æ¤ç´¢ããã¨ãã®è·ç©ã®è¡æ¹ãæ¤ç´¢ã§ãã¾ããæè¡çã«ã¯ãã¤ãã (ä¼ç¥¨çªå·)ãã¨æ¤ç´¢ãã¦ãããã¤ããé輸ã®ã·ã¹ãã ã«ã¤ãªãã§æ¤ç´¢ãã¦ããã ãã ã§ããGoogleã®â¦
ãªã«ããªãiPod Touchã§éãã§ããããããªãã°ãè¦ã¤ãã¾ããï¼ï¼ï¼ï¼å¹´ï¼æï¼æ¥ãé¸æãã¦ããã®ã«ããï¼ï¼ï¼ï¼å¹´ï¼æï¼æ¥ãã ããã¯ãã°ï¼ ããã¨ãPostgreSQLã®ããã¥ã¡ã³ããè¨ã£ã¦ãããã«ããã®å®ç¾©ã«ç´å¾ã§ããªããã°ãè¦æ ãããã«ã³ãã¼ãèãã¦â¦
Exceptionã¨RuntimeExceptionã®éãã¯ããã°ã©ãã³ã°ã®æ®µéã§çºçãäºè¦ãããããããªãããä¾å¤å¦çãå¿ é ãå¿ é ã§ã«ãªããã®éãã¨ãããããã«èãã¦ãã¾ããã ã§ããæè¿æ°ã¥ãããã§ãããã®éãã¯ãæºæ£å¸¸ç³»ãããç°å¸¸ç³»ããã¨ãã風ã«ã¨ãããã¹ãâ¦
Firefoxç¨ã®greasemonkeyãAdd Tab Index for Googleãããã¼ã¸ã§ã³ã¢ãããã¾ããã Add Tab Index for Google ver0.6 ã»æ»ãã§æ»ã£ã¦ãã¦ãã極åãã©ã¼ã«ã¹ãå½ãã£ã¦ããããã«ãã ã»æ¤ç´¢çµæä¸é¨ã®Googleãµã¼ãã¹ä¸è¦§(ç»åãåç»ãå°å³â¦etc)ã«ãã©ã¼ã«â¦
å æ¥ã¡ãã£ã¨æ¸ãã¾ããããAdd Tab Index for Googleã®ããã©ã¦ã¶ã®æ»ãã§Googleã表示ããã¨å ã®å ´æã«ãã©ã¼ã«ã¹ãåããªãããã°ãç´ãã®ã«ãURLã«#ããä»å ãã¦ç´ãã¨ããã®ããã£ã¦ã¿ã¾ãããçã£ã¦ããå¦çã®æµãã¯ã ãã¼ã¸ãé¢ããç¬éã«ãURLã®#以â¦
Add Tab Index for Googleã®ä¿®æ£ããããã¨ãã¦æ°ä»ãããã§ããã»ã»ã»ã Google.comã¯æ¤ç´¢çµæã®åå¾ãã表示ã¾ã§Ajaxã§è¡ã£ã¦ãã¾ãã (注ï¼æ¸ãã¦ãã調ã¹ããã§ãããä¸é¨ã¦ã¼ã¶ã®ã¿ã®ããã§ããããã«ã¤ãã¦ã¯ãã¡ãã®æ¹ã®ãµã¤ãã詳ããã§ã) æåã¯æ¤â¦
æ¨æ¥ããµã¨æã£ããã§ããã»ã»ã»ã Javaã®Switchæã®æ¡ä»¶å¼ã«ã¯æ°å¤åã ãã§ãªããåæå(enum)ã使ããã¨ãã§ãã¾ãã ã§ããenumã¯ã¯ã©ã¹ã®ä¸ç¨®ãªã®ã§åæåã®å¤æ°ã«ã¯nullãå ¥ãããã¾ãã ãããªnullãå ¥ã£ã¦ããåæåå¤æ°ããSwitchã®æ¡ä»¶å¼ã«å ¥ãããâ¦
å é±ã®åææ¥ã«SJC-WC(Sunèªå®Webã³ã³ãã¼ãã³ããã£ãããã試é¨)ãåãã¦ãã¾ããã çµæã¯ã»ã»ã» å¾ç¹ï¼57% ãã¹ãã¹ãã¼ã¿ã¹ï¼ä¸åæ ¼ è½ã¡ã¾ãã orz æå ã¯ãããããå¯åãããã¨ã ã¨æãã¾ãã 9æ5åã«å®¶åºãã°éã«åãã¯ããã9æ6åã«èµ·ããï¼ï¼ï¼â¦
Firefoxç¨ã®greasemonkeyãAdd Tab Index for Googleããå ¬éãã¾ããã Add Tab Index for Googleã¨ã¯ï¼Googleã®æ¤ç´¢çµæãã¼ã¸ã3åããã使ããããããããã®greasemonkeyã§ãã å ·ä½çã«ã¯ã以ä¸ã®å¦çãè¡ãã¾ãã [1]æ¤ç´¢çµæã®1çªç®ã«ãã©ã¼ã«ã¹ãå½â¦
ã¯ã©ã¹åã§DOMè¦ç´ ãåå¾ã§ããã°ä¾¿å©ãªã®ã«ã»ã»ã»ã¨æã£ã¦ããããã£ããã§ããã Document.getElementsByClassName() - Web API | MDN JavaScriptã©ã¤ãã©ãªããªãã¦ããIE8以å¤ã®ææ°ã®(HTML5ãã©ããã«å¯¾å¿ãã¦ãã)ãã©ã¦ã¶ã§ã¯ãªã«ãããã«ä½¿ããã¿ãâ¦
ãã®åã®å£ãããµã¼ãã«OSãåã¤ã³ã¹ãã¼ã«ããããã«ãµã¼ãã«ã¼ã ã¸ã ã¨ããããèå¥ã·ã¼ã«ã®æ å ±ãå¤ãã¦ãã®ãµã¼ããã©ãããåãããªãã»ã»ã»ã æåã¯ãªã¢ã¼ãã§ãã¼ãé³ãé³´ãããªããã¨æã£ããã§ããããããæå¤ã¨ãã£ããã ããé³´ãããã¨ãã¦ãâ¦
ä»æ¥ããµã¨æã£ããã¨ã ããJavaã§Listããé åã¸ã®å¤æã®æ¹æ³ã¨ãã¦ããããããæ¹ãç´¹ä»ããã¦ãã¾ãã list.toArray(new String[0]); å¤æã®éã«åãæå®ããå¿ è¦ããããããå¼æ°ã«ä¸èº«ã0åã®é åã渡ãã ã§ããããã§çæãã¦ãããªãã¸ã§ã¯ãã¯ããâ¦
ä»äºã§ä½¿ã£ã¦ããéçºç¨ãµã¼ããä¸å°å£ãã¾ããã å£ããã¨ãã£ã¦ããå¤ããã¼ã¸ã§ã³ã®OSã«æ°ããã¢ããªãä¸æ¸ãã§å ¥ãããåããªããªã£ãã»ã»ã»ã¨ãããã®ã§ãã ã³ãã³ãã¯åãä»ãããã©ãéçºã¢ããªã¯åããªãã¨ããç¶æ ã ãããªãµã¼ãã«å¯¾ãã¦å 輩ãè¨â¦
SwitchApp ver1.1ããªãªã¼ã¹ãã¾ããï¼ [æ©è½è¿½å ] ã»æ¬¡ã«åãæ¿ããã¦ã£ã³ãã¦ã®æå®ã«ãç´åã®ã¢ããªã«æ»ããã追å ã»ä¸è´æ¡ä»¶ãè¤æ°ã®æ¹å¼ããé¸ã¹ãããã«ãã ã»ã¦ã£ã³ãã¦åããç¾å¨éãã¦ããã¦ã£ã³ãã¦ä¸è¦§ããé¸ã¹ãããã«ãã SwitchAppã¨ã¯ï¼ ã©â¦
ã¡ãã£ã¨èªå® ã§è©¦ããããã¨ããã£ã¦ããããªã³ã¼ããæ¸ããããªããåããªãã£ãã document.attachEvent("onClick", testFunc); ã»ã»ã»ããã«æ°ã¥ãã人ããããã¨æãã¾ããã document.attachEvent("onclick", testFunc); æ£ããã¯ãonclickãã§ããã â¦
Javaã®APIããã¥ã¡ã³ããæ¤ç´¢ãããã«ãããã®ãã¼ã¸ã«æ¤ç´¢æ©è½ããªããã ãã¨ãã£ã¦æ®éã«ã°ã°ãã¨å¤ãJavaSE 1.4ã®ããã¥ã¡ã³ããã²ã£ããããã¨ä½ãã¨ä¸ä¾¿ã ããã§ãFirefoxã®ãã±ã¼ã·ã§ã³ãã¼ã§ãjava (調ã¹ããã¯ã©ã¹)ãã£ã¦å ¥åããã¨ä¸çºã§æ¤ç´¢ã§ãâ¦