Java
ValidatorFormã使ã£ãå ´åãvalidation.xmlã®<form>ã®nameå±æ§ã«è¨è¿°ããå¤ã¯ãã¢ã¯ã·ã§ã³ãã©ã¼ã Beanã®è«çåï¼struts-config.xmlã®<form-bean>ã®nameå±æ§ï¼ã ValidatorActionFormã使ã£ãå ´åã¯ãstruts-config.xmlã®<action>ã¿ã°ã®pathå±æ§ãè¨è¿°ããããããã£ãæãã§èªèãã¦</action></form-bean></form>â¦
ãããªã³ã¼ãã1.4.2_08ã¨1.5.0_06ã§åããã¦ã¿ãã StringBuffer buf = new StringBuffer("hoge"); Matcher matcher = Pattern.compile("o").matcher(buf); buf.delete(0, buf.length()); matcher.find();1.4ã§ã¯æ£å¸¸ã«çµäºãããã®ã®ã5.0ã ã¨matcher.findâ¦
ãã°ããããã£ããä»ã¾ã§æ¥æ¬èªãGETãããã¨ãªãã¦ãªãã£ããªãã Tomcatã®ServletRequest#setCharacterEncoding()åé¡ã¾ã¨ã - H.L.B. /* hyper@shã®Log Book */ Servletã®ä»æ§ãªãã ãããªããã¼ã å¯æ¬æ§ããªãããããªãã®ã§ãTomcatã®URLãã©ã¡ã¼ã¿æâ¦
mavenã§genappããã¨ããããã¸ã§ã¯ãã®ãã³ãã¬ã¼ãããwebãã¨ããã¨webã¢ããªç¨ã®ãã£ã¬ã¯ããªæ§æã§çæããããweb.xmlããªããªãããªãã¦æã£ã¦ãã¨javadocã³ã¡ã³ãã«XDocletç¨ã¨æãããè¨è¿°ããããä»åº¦ã¯XDocletãè¦ããªãããããªãã®ããmavenã®â¦
Java WORLD 8æå·ãè¦ãªããã > maven xdoclet:webdoclet java:compile war:warã¨ããã¨ãjarã®ãã¦ã³ãã¼ãã«å¤±æããã ãxjavadoc-1.0.2.jarãã®ãã¦ã³ãã¼ãã試ã¿ã¦ãã¾ãã è¦åï¼xjavadoc-1.0.2.jar ã®ãã¦ã³ãã¼ãã«å¤±æãã¾ããã ãã«ãã®ããã»â¦
ãã£ããå¿ãå»ã£ã¦ããArkã ããArké¢é£ã®æ å ±ãé ä¿¡ããMLãArkéä¿¡ããå¹ãéããã¨ã®ã¡ã¼ã«ãæµããã æãã°ãJavaãã¡ããã¨å§ããããã«ã±ã«ãªã£ãã®ãä¸å¤ªéArkã ã£ããªãããã ä»ã¯ãããªãéã¾ãã®é¢ä¿ã§Arkã®ã½ã¼ã¹ãèªããã¨ã«ãªããå¿ æ»ã«èªãâ¦
MyFacesã ã¨ãforå±æ§ã«æ¸ããidãæã¤ã³ã³ãã¼ãã³ãããå ã«åºç¾ããã¨ã¨ã©ã¼ã«ãªã£ã¦ãã¾ããSunã®JSF RIã ã¨åé¡ãªããã¯ã¦ã <h:message for="value1" /> <h:inputText id="value1" value="..." /> â <h:inputText id="value1" value="..." /> <h:message for="value1" /></h:message></h:inputtext></h:inputtext></h:message>
諸説ããããè±è¾éã«ãã㨠James GoslingãArthur Van HoffãAndy Bechtolsheimã«ç±æ¥ ã¨ã®ãã¨ãã¸ããã ããã¾ãããJames Gosling以å¤ç¥ãã¾ããã§ãããããorz
è¡ããªãã£ã½ããorz
ãµã¨S2JSFã®å¦çã·ã¼ã±ã³ã¹ãæ°ã«ãªã£ã¦samplesã«ã¤ãã¦ãweb.xmlãè¦ããã ãã©ããªãã§*.htmlã¸ã®ãªã¯ã¨ã¹ããS2JSFã«æ¸¡ãã®ããã£ã±ãåãããªãã£ãããããã³ã°ã¨ãã¦ã¯javax.faces.webapp.FacesServletãå¼ã°ãããããã®å®è£ ã¯MyFacesãæã£ã¦ãããâ¦
http://www.opensymphony.com/webwork/wikidocs/xwork.xml.html#xwork.xml-Actions xwork.xmlã®actionã¿ã°ã§methodå±æ§ãæå®ããªãå¤ããã«ããµããããå URLã®ã¢ã¯ã·ã§ã³ã®æ¸ãæ¹ã ã¢ã¯ã·ã§ã³å!ã¡ã½ããå.actionã¨ãããä¾ãã°ã calculate!add.action â¦
ãªãã»ã©ã Singletonããã¹ããããªãã¦æ¸ãã¦ã¿ããã®ã®ãã¯ã©ã¹ãã¼ãã®ä»çµã¿ãããã¾ã§ã¯ç解ãã¦ããªãã£ãã£ããå¥ã®ã¯ã©ã¹ãã¼ãããèªã¿è¾¼ã¾ããã¯ã©ã¹ã¯å¥ç©ã¨ã¾ã§ããåãã£ã¦ãªãã£ãæ°ãããã JavaVMä»æ§ãèªã¾ãªãã¨ã
¢ï¼ã»ã³ãï¼ã¨ã£ï¼ãã³ãï¼ã¨ããåãããDBã¸å ¥ãè¾¼ãã æç¹ã§åãã¦ããã ãï¼æ³¢ï¼ã¯ç¢ºãã«åãã¦ããªãããåãåºããã¨ãã«MS932ã®ã³ã¼ããã¤ã³ãã§ãã0xFF5Eã«ãªã£ã¦ããããªã®ã§ãMS932ãªç»é¢ä»¥å¤ã§ã¯åãã¦ãã¾ãã å¾è ã¯ã¾ãããã¨ãã¦ãåè éâ¦
Tapestryãã¡ãã£ã¨è©¦ãã¦ã¿ãã ãããªãæååãã§ã¤ã¾ããããã©ãinit-paramã§templateã®encodingãæå®ããã¨è§£æ±ºã org.apache.tapestry.template-encoding encoding-name ç´æ¥Servlet APIã使ããªãã¦ãä½ããã¨ãªãã¨ããã¯ãServlet/JSPã¯Cã§ããã¨â¦
åºãã¦upã¯ã ãªãããªã®ã§ã³ããã // TestSuiteForSingleton.java package uronim1.util.junit; import junit.framework.Test; import junit.framework.TestSuite; public class TestSuiteForSingleton extends TestSuite { public TestSuiteForSingleton()â¦
ã·ã³ã°ã«ãã³ã¯ãåã®ãã¹ãã®çµæãå¾ã®ãã¹ãã«ã¾ã§å½±é¿ãã¦ãã¾ããããã¹ããã«ããã¨ãããããã¯Singletonã®ã¤ã³ã¹ã¿ã³ã¹ããã¹ãã¡ã½ããéã§å ±æããã¦ãã¾ããã¨ã«èµ·å ããããªãã°ããã¹ãéã§å½±é¿ãåããªãããã«ããããã®ãã¹ãã¡ã½ããã§Singâ¦