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

jspx Ò»¸öÀ´×ÔÓÚ°£¼°µÄjava web¿ìËÙ¿ª·¢¿ò¼Ü


 jspx Ò»¸öÀ´×ÔÓÚ°£¼°µÄjava web¿ìËÙ¿ª·¢¿ò¼Ü
À´Ô´£ºhttp://www.javaeye.com/news/4887
Ã÷£ºJavaEyeÐÂÎÅÎÄÕµİæȨÊôÓÚJavaEyeÍøÕ¾ËùÓУ¬ÑϽûÈκÎÍøվתÔر¾ÎÄ£¬·ñÔò±Ø½«×·¾¿·¨ÂÉÔðÈΣ¡
ÔõôÓÖð³öÒ»¸öweb¿ò¼Ü?
 
 
¿´¿´ÏÖ´æµÄJava webÓ¦ÓóÌÐò¿ò¼Ü£¬ÎÞÒ»ÀýÍâµÄÒªÇ󻨷ѴóÁ¿µÄʱ¼äÓ뾫Á¦ºó²Å¿ÉͶÈëÉú²ú¡£¶ÔÓÚ´ó¶àÊý¿ª·¢ÈËÔ±À´ËµÏëÒªµÄ¶«Î÷ºÜ¼òµ¥£ºÓѺã¬Ò×ÓÚѧϰ²¢ÇÒ»¹¾ßÓÐÉú²úÁ¦¡£Òò´ËÎÒÃÇ¿ª·¢ÁËJSPX¡£
 
 
JSPXµÄÖ÷ҪĿ±ê¾ÍÊÇ´òÔì³ÉΪһ¸ö“ÓѺõĿª·¢Õß”¿ò¼Ü¡£ÒòΪJSPXÖ»»ùÓÚ±ê×¼µÄHTML±êÇ©ºÍ¼òµ¥µÄJava POJO£º
 
1.         JSPXÒ×ÓÚѧϰ¡£ÎÒÃÇÒѾ­×öµ½ÈÃһЩֻÓÐHTMLºÍJava»ù´¡£¬¶ø¶ÔÆäËü¿ò¼ÜÒ»ÎÞËùÖªµÄ¿ª·¢ÐÂÊÖÔں̵ܶÄʱ¼äÄÚ¾ÍÉÏÊÖͶÈëÉú²ú¡£
 
2.         ¿ªÏä¼´ÓÃ(out of the box)µÄ×é¼þ±ÈÈç˵DataTable£¬ListTable£¬ValidatorsºÍCapatchaÒѾ­·Ç³£Ç¿´óµÄ£¬¶ÔÓÚÒ»°ãµÄÐèÇó´Â´ÂÓÐÓà¡£
 
3.         Í¨¹ýJava APIÀ´ÀûÓÃÉùÃ÷ºÃµÄ´úÂëÀ´ÓëHTMLÉÏÄÇЩÉùÃ÷ºÃµÄ¿Ø¼þ½øÐн»»¥£¬ÊÇJSPX¿ò¼ÜµÄºËÐÄ¡£
 
 
 
ÉùÃ÷´úÂëÊÇÈçºÎʹµÃJSPXÓëÖÚ²»Í¬ÄØ?
 
 
JSPXÒѾ­×ã¹»ÖÇÄÜ——ÄãÎÞÐè¸æËßËüÔõô×ö£¬Ëü¾ÍÒѾ­ÖªµÀÁËÄãµÄÒâͼ¡£Ô­Òò¾ÍÔÚÓÚÄãÖ»ÐèÒªÔÚHTMLµÄÒ³ÃæÉÏÉùÃ÷һЩÊôÐÔ£¬´Ó¶øÀ´¸Ä±äÐÐΪ½á¹û¡£±ÈÈç˵°É£¬ÓÐÒ»¸öDataTable×é¼þ£¬Äã°ÑËüµÄ“AutoBind”ÊôÐÔÉèÖÃΪ“True”ºó£¬Ëü»á×Ô¶¯µÄÁ¬ÉÏÊý¾Ý¿âÈ¥»ñÈ¡Êý¾ÝÌî³ä±í¸ñ£¬²»ÐèÒªÈκÎJava´úÂë¡£
 
 
 
ÏÂÃæµÄ¾ÍÊÇDataTableµÄʵÀý£º
 
 
 
 
ÏÖÔÚÎÒÃÇÀ´¸ö¹ØÓÚHelloWorldµÄQuickStart¡£ÓÃJSPX¿ª·¢“HelloWorld”·Ç³£¼òµ¥¡£Ö»ÐèÒªÈý²½£º
 
1.         ÅäÖÃweb.xmlÎļþ¡£ÎÒÃǵÃ×¢²áÁ½¸öservlets²¢ÇÒÑ¡ÔñÄãµÄURL pattern£º
 
 
Xml´úÂë 
<servlet>    
    <display-name>JspxHandler</display-name>    
    <servlet-name>JspxHandler</servlet-name>    
&nb


Ïà¹ØÎĵµ£º

½âÎöJavaÀàºÍ¶ÔÏóµÄ³õʼ»¯¹ý³Ì

ÀàµÄ³õʼ»¯ºÍ¶ÔÏó³õʼ»¯ÊÇ JVM ¹ÜÀíµÄÀàÐÍÉúÃüÖÜÆÚÖзdz£ÖØÒªµÄÁ½¸ö»·½Ú£¬Google ÁËÒ»±éÍøÂ磬ÓйØÀà×°ÔØ»úÖƵÄÎÄÕµ¹ÊDz»ÉÙ£¬È»¶øÀà³õʼ»¯ºÍ¶ÔÏó³õʼ»¯µÄÎÄÕ²¢²»¶à£¬ÌرðÊÇ´Ó×Ö½ÚÂëºÍ JVM ²ã´ÎÀ´·ÖÎöµÄÎÄÕ¸üÊÇÏÊÓÐËù¼û¡£
±¾ÎÄÖ÷Òª¶ÔÀàºÍ¶ÔÏó³õʼ»¯È«¹ý³Ì½øÐзÖÎö£¬Í¨¹ýÒ»¸öʵ¼ÊÎÊÌâÒýÈ룬½«Ô´´úÂëת»»³É JVM ×Ö½ÚÂëºó£¬ ......

activeMQÆô¶¯´íÎó£¬Òý³öµÄjava endorsedĿ¼ÎÊÌâ¡£

ÔÚÎÒ»úÆ÷ÉÏ°²×°µÄÊÇJDK6£¬ÏÂÔØactiveMQ5.3Æô¶¯Ê±±¨´í£¬Ìáʾjaxb°üÒѾ­¼ÓÔØ2.0°æ±¾ÎÞ·¨¼ÓÔØ2.1°æ±¾¡£
ÎÒͨ¹ýÍøÂçËÑË÷ÁËһϷ¢ÏÖ£¬jaxb2.0ÊÇJDK·¢²¼Ê±°üº¬ÔÚrt.jar°üÖеġ£µ«ÊÇactiveMQ5.3È´ÐèÒª2.1°æ±¾¡£Õâ¸ÃÈçºÎ´¦Àí£¿
×ܲ»Äܽ«rt.jar°ü½â¿ª£¬½«jaxb2.1µÄÀา¸Ç½øÈ¥£¬ÔÙÖØдò°ü°É¡£ÕâÑùÌ«Âé·³ÁË¡£
ÔٴνøÐÐÍøÂçËÑË÷£¬·¢ ......

dz̸javaÊäÈëÊä³öÁ÷

±¾ÎÄת×Ô£ºhttp://cyp-034.blog.163.com/blog/static/2823190520074691849380/
stream
´ú±íµÄÊÇÈκÎÓÐÄÜÁ¦²ú³öÊý¾ÝµÄÊý¾ÝÔ´£¬»òÊÇÈκÎÓÐÄÜÁ¦½ÓÊÕÊý¾ÝµÄ½ÓÊÕÔ´¡£ÔÚJavaµÄIOÖУ¬ËùÓеÄstream£¨°üÀ¨InputstreamºÍ
Out stream£©¶¼°üÀ¨Á½ÖÖÀàÐÍ£º
(1)×Ö½ÚÁ÷
 
±íʾÒÔ×Ö½ÚΪµ¥Î»´ÓstreamÖжÁÈ¡»òÍùstreamÖÐдÈë ......

java statement×÷ÓÃ


1¡¢´´½¨ Statement ¶ÔÏó
½¨Á¢Á˵½Ìض¨Êý¾Ý¿âµÄÁ¬½ÓÖ®ºó£¬¾Í¿ÉÓøÃÁ¬½Ó·¢ËÍ SQL Óï¾ä¡£Statement ¶ÔÏóÓà Connection µÄ·½·¨ createStatement ´´½¨£¬ÈçÏÂÁдúÂë¶ÎÖÐËùʾ£º
Connection con = DriverManager.getConnection(url, "sunny", "");
Statement stmt = con.createStatement();
ΪÁËÖ´ÐÐ Statement ¶ÔÏ󣬱»· ......

Ïêϸ½âÎöJavaÖгéÏóÀàºÍ½Ó¿ÚµÄÇø±ð

ÔÚJavaÓïÑÔÖУ¬ abstract class ºÍinterface ÊÇÖ§³Ö³éÏóÀඨÒåµÄÁ½ÖÖ»úÖÆ¡£ÕýÊÇÓÉÓÚÕâÁ½ÖÖ»úÖƵĴæÔÚ£¬²Å¸³ÓèÁËJavaÇ¿´óµÄ ÃæÏò¶ÔÏóÄÜÁ¦¡£abstract classºÍinterfaceÖ®¼äÔÚ¶ÔÓÚ³éÏóÀඨÒåµÄÖ§³Ö·½Ãæ¾ßÓкܴóµÄÏàËÆÐÔ£¬ÉõÖÁ¿ÉÒÔÏ໥Ìæ»»£¬Òò´ËºÜ¶à¿ª·¢ÕßÔÚ½ø ÐгéÏóÀඨÒåʱ¶ÔÓÚabstract classºÍinterfaceµÄÑ¡ÔñÏԵñȽÏËæÒâ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ