-
javaѧϰÔý¼Ç8 Servlet/Jsp
javaѧϰ±Ê¼Ç8Servlet/Jsp ÖÕÓÚÕýʽ½øÈëJ2eeµÄϸ½Ú²¿·ÖÁË£¬Ê×µ±Æä³åµÄµ±È»ÊÇServletºÍJspÁË£¬ÉÏƪÔø¾Ìáµ½¹ýJ2eeÖ»ÊÇÒ»¸ö¹æ·¶ºÍÖ¸ÄÏ£¬¶¨ÒåÁËÒ»×é±ØÐëÒª×ñѵĽӿڣ¬ºËÐĸÅÄîÊÇ×é¼þºÍÈÝÆ÷¡£Ôø¾ÓеÄÈËÎʱÊÕßServletµÄClassÎļþÊÇÄÄÀïÀ´µÄ£¿ËûÈÏΪÊÇJ2ee¹Ù·½ÌṩµÄ£¬ÎÒ¾ÙÁËÒ»¸ö¼òµ¥µÄ·´Àý£ºÉÔ΢¼ì²éÁËÒ»ÏÂTomcat5.0ÀïÃæµÄServlet.jarÎļþºÍJBossÀïÃæµÄ...
431
ÈÈ¶È -
javascriptС¼¼ÒÕ
javascriptС¼¼ÇÉ ?ʼþÔ´¶ÔÏóevent.srcElement.tagNameevent.srcElement.type?²¶»ñÊÍ·Åevent.srcElement.setCapture();event.srcElement.releaseCapture();?ʼþ°´¼üevent.keyCodeevent.shiftKeyevent.altKeyevent.ctrlKey?ʼþ·µ»ØÖµeve...
630
ÈÈ¶È -
Ðé¹¹ÑÐÌÖ»á:Òƶ¯WebÓ¦Óÿª·¢¼¼Êõ×îж¯Ì¬
ÐéÄâÑÐÌÖ»á:Òƶ¯WebÓ¦Óÿª·¢¼¼Êõ×îж¯Ì¬ ÐéÄâÑÐÌÖ»á:Òƶ¯WebÓ¦Óÿª·¢¼¼Êõ×îж¯Ì¬2011Äê03ÔÂ02ÈÕΪÁËÕÆÎÕÒƶ¯WebÓ¦Óÿª·¢µÄ×îж¯Ì¬£¬InfoQÑûÇëһЩ¸ÃÁìÓò×îÁ÷ÐеĿ⡢¹¤¾ßºÍ¿ò¼ÜµÄµÞÔìÕߣ¬×éÖ¯ÁËÒ»³¡ÐéÄâÑÐÌֻᡣMichaelMullany£¬SenchaTouchBrianLeRoux£¬PhoneGapChristopherPlieger£¬iWebKitChrisApers£¬WebAp...
449
ÈÈ¶È -
JSÔÚIE¸úFireFoxÖ®¼ä³£Óú¯ÊýµÄÇø±ðС½á
JSÔÚIEºÍFireFoxÖ®¼ä³£Óú¯ÊýµÄÇø±ðС½á 1.event.srcElement? ¸´ÖÆ´úÂë´úÂëÈçÏÂ: //srcElementÖ»ÄÜÔÚIEÏÂʹÓÃtargetÊÇFireFoxʹÓõÄ,ÏÂÃæÊǼæÈÝÐÔд·¨?varobj=e.srcElement?e.srcElement:e.target;? 2.e.originalEvent.x? ¸´ÖÆ´úÂë´úÂëÈçÏÂ: //e.originalEvent.xÖ»...
394
ÈÈ¶È -
javascript ÏàÖú
javascript°ïÖú ʼþÔ´¶ÔÏó event.srcElement.tagName event.srcElement.type ²¶»ñÊÍ·Å event.srcElement.setCapture(); event.srcElement.releaseCapture(); ʼþ°´¼ü event.keyCode event.shiftKey event.altKey event.ctrlKey ʼþ...
450
ÈÈ¶È -
Ó¦Óà Spring Security ±£»¤ Web Ó¦Óõݲȫ(ת)
ʹÓÃSpringSecurity±£»¤WebÓ¦Óõݲȫ(ת) ÔÍøÕ¾:http://www.ibm.com/developerworks/cn/java/j-lo-springsecurity/ ? ÔÚWeb Ó¦Óÿª·¢ÖУ¬°²È«Ò»Ö±ÊǷdz£ÖØÒªµÄÒ»¸ö·½Ãæ¡£°²È«ËäÈ»ÊôÓÚÓ¦Óõķǹ¦ÄÜÐÔÐèÇ󣬵«ÊÇÓ¦¸ÃÔÚÓ¦Óÿª·¢µÄ³õÆھͿ¼ÂǽøÀ´¡£Èç¹ûÔÚÓ¦Óÿª·¢µÄºóÆڲſ¼ÂÇ°²È«µÄÎÊ Ì⣬¾Í¿ÉÄÜÏÝÈëÒ»¸öÁ½Äѵľ³µØ£ºÒ»·½Ã棬ӦÓôæÔÚ...
522
ÈÈ¶È -
js¹ßÓü¼Êõ
js³£Óü¼Êõ ʼþÔ´¶ÔÏ󲶻ñÊÍ·Åevent.srcElement.setCapture();event.srcElement.releaseCapture();ʼþ°´¼üevent.keyCodeevent.shiftKeyevent.altKeyevent.ctrlKeyʼþ·µ»ØÖµevent.returnValueÊó±êλÖÃevent.xevent.y´°Ìå»î¶¯ÔªËØdocument.activeEle...
500
ÈÈ¶È -
ÍøÕ¾Ò³ÃæÐÔÄÜÓÅ»¯µÄ 34Ìõ½ð×ÓÊØÔò
ÍøÕ¾Ò³ÃæÐÔÄÜÓÅ»¯µÄ34Ìõ»Æ½ðÊØÔò תÔØÖÁ£ºhttp://blog.csdn.net/hw_henry2008/article/details/6726491 ? ? ÒÔÏÂÄÚÈÝΪÑÅ»¢ÍŶӾÑ飬ÖØÐÂÕûÀíºó·ÅÔÚÕâÀï¸Ð¾õÏñÊÇÔÚ³´Àä·¹£¬Æäʵ¸öÖÐζµÀÐèҪϸϸƷ³¢£¬ÒòΪ¾µäʼÖÕÊǾµä£¬Ò»µãÒ²²» »á±äζ¶ù 1¡¢¾¡Á¿¼õÉÙHTTPÇëÇó´ÎÊý ÖÕ¶ËÓû§ÏìÓ¦µÄʱ¼äÖУ¬ÓÐ80%ÓÃÓÚÏÂÔظ÷ÏîÄÚÈÝ¡£Õⲿ·Öʱ¼ä°üÀ¨ÏÂÔØÒ³ÃæÖеÄͼ...
508
ÈÈ¶È -
jsÎÂÏ°-ÊýÖµ´¦ÀíºÍÊýѧ¶ÔÏñ
js¸´Ï°-ÊýÖµ´¦ÀíºÍÊýѧ¶ÔÏñ///% ÇóÓàÊý(±£ÁôÕûÊý) //СÊýµãºó±£ÁôNλ varnum=parseInt("21121.12"); alert(num); varnumi=parseFloat("21313.14"); alert(numi); varnum1=newNumber("12123.121"); alert(num1.t...
454
ÈÈ¶È -
FreeMarker¿Î³Ì
FreeMarker½Ì³Ì FreeMarkerÊÇÒ»¸öÄ£°åÒýÇ棬һ¸ö»ùÓÚÄ£°åÉú³ÉÎı¾Êä³öµÄͨÓù¤¾ß£¬Ê¹Óô¿Java±àд?FreeMarker±»Éè¼ÆÓÃÀ´Éú³ÉHTMLWebÒ³Ã棬ÌرðÊÇ»ùÓÚMVCģʽµÄÓ¦ÓóÌÐò?ËäÈ»FreeMarker¾ßÓÐһЩ±à³ÌµÄÄÜÁ¦£¬µ«Í¨³£ÓÉJava³ÌÐò×¼±¸ÒªÏÔʾµÄÊý¾Ý£¬ÓÉFreeMarkerÉú³ÉÒ³Ã棬ͨ¹ýÄ£°åÏÔʾ׼±¸µÄÊý¾Ý£¨ÈçÏÂͼ£©?FreeMarker²»ÊÇÒ»¸öWebÓ¦Óÿò¼Ü£¬¶øÊÊ...
386
ÈÈ¶È -
ÐÛ±çµÄJavaScriptµÚ¶þÕ£¨¾µäͨÒë¼Æ»®1£©
ÐÛ±çµÄJavaScriptµÚ¶þÕ£¨¾µä·Òë¼Æ»®1£© ? µÚ¶þÕ£ºJavaScript»ù´¡£ºÖµ£¬±äÁ¿ºÍ¿ØÖÆÁ÷ ? ÔÚµçÄÔÊÀ½çÖУ¬Ö»ÓÐÊý¾Ý£º³ýÊý¾ÝÖ®ÍâµÄ¶«Î÷ÊDz»´æÔڵġ£ËäÈ»£¬±¾ÖÊÉÏ£¬ËùÓÐÊý¾Ý¶¼ÊÇÓÉ0-1±ÈÌØλ×é³ÉµÄÐòÁУ¬µ«ÊÇÿһ¿éÊý¾Ý¶¼ÓÐ×ÔÉíµÄ×÷Óá£ÔÚJavaScriptÖÐÕâЩÊý¾Ý±»ÕûÆëµØÇø¸ôΪֵ£¬Ã¿Ò»¸öÖµµÄÀàÐ;ö¶¨ÁËËü¿ÉÒÔ°çÑݵĽÇÉ«£¬JavaScriptÖÐÓÐ6ÖÖ»ù±¾ÀàÐ͵ÄÖµ£ºÊý¡¢×Ö·û´®¡¢²¼¶ûÖµ¡¢¶ÔÏó...
446
ÈÈ¶È -
Spring3 Web MVCϵÄÊý¾Ý¸ñʽ»¯£¨µÚ¶þƪ£©¨D¨D¡¶¸úСµÜÎÒѧSpring3 Web MVC¡·ÇÀÏÈ¿´
Spring3WebMVCϵÄÊý¾Ý¸ñʽ»¯£¨µÚ¶þƪ£©¨D¨D¡¶¸úÎÒѧSpring3WebMVC¡·ÇÀÏÈ¿´ ? »ùÓÚspring-framework-3.1.1.RELEASE 7.3¡¢Êý¾Ý¸ñʽ»¯ ÔÚÈçWeb/¿Í»§¶ËÏîÄ¿ÖУ¬Í¨³£ÐèÒª½«Êý¾Ýת»»Îª¾ßÓÐijÖÖ¸ñʽµÄ×Ö·û´®½øÐÐչʾ£¬Òò´ËÉϽÚÎÒÃÇѧϰµÄÊý¾ÝÀàÐÍת»»ÏµÍ³ºËÐÄ×÷Óò»ÊÇÍê³ÉÕâ¸öÐèÇó£¬Òò´ËSpring3ÒýÈëÁ˸ñʽ»¯×ª»»Æ÷£¨FormatterSPI£©ºÍ¸ñʽ»¯·þ...
517
ÈÈ¶È -
GOOGLE µÄjquery×ÊÁÏ
GOOGLEµÄjqueryÎļþ <scriptsrc="http://code.jquery.com/jquery-latest.js"></script> ÍøÒ³ÐÔÄÜÓÅ»¯{ÑÅ»¢[תÔØ]} ÑÅ»¢ÍŶӾÑ飺ÍøÕ¾Ò³ÃæÐÔÄÜÓÅ»¯µÄ34Ìõ»Æ½ðÊØÔò 1¡¢¾¡Á¿¼õÉÙHTTPÇëÇó´ÎÊý ÖÕ¶ËÓû§ÏìÓ¦µÄʱ¼äÖУ¬ÓÐ80%ÓÃÓÚÏÂÔظ÷ÏîÄÚÈÝ¡£Õⲿ·Öʱ¼ä°üÀ¨ÏÂÔØÒ³ÃæÖеÄͼÏñ¡¢Ñùʽ±í¡¢½Å±¾¡¢FlashµÈ...
338
ÈÈ¶È -
ÍøÒ³¼ÓÔØÀú³ÌÏê½â
ÍøÒ³¼ÓÔعý³ÌÏê½â ? ÍøÒ³¼ÓÔصÄÏêϸ²½Öè²ð·Ö£º 1¡¢Óû§´ò¿ªurlÁ´½Ó 2¡¢ä¯ÀÀÆ÷²éѯurlµÄdnsµØÖ· 3¡¢Ìá½»urlÇëÇóµ½·þÎñÆ÷¶Ë 4¡¢·þÎñÆ÷¶Ë´¦Àí 5¡¢´«Êä´¦ÀíºÃµÄhtmlÎı¾ÄÚÈݵ½ä¯ÀÀÆ÷ 6¡¢ä¯ÀÀÆ÷½âÎöhtml£¬²¢¼ÓÔØcss£¬js£¬Í¼Æ¬µÈÄÚÈÝ 7¡¢¼ÓÔØÍê³É£¬Óû§¿´µ½ÍêÕûµÄÒ³ÃæÄÚÈÝ ÆäÖеÚÁù²½µÄä¯ÀÀÆ÷½âÎö¹ý³Ì½«ÊÇÇ°¶ËÓÅ»¯×îÖ±½Ó¡¢ÓÐЧµÄµØ·½£¬¸Ã¹ý³ÌµÄÏêϸ¹ý³ÌΪ£º½ÓÊÜÍøÂçÊý¾Ý-¡·½«¶þ½øÖÆÂë±ä³É...
366
ÈÈ¶È -
Ó¦Óà HTML 5 Ö§³ÖÒƶ¯ Web Ó¦ÓóÌÐòÀëÏß¹¤×÷
ʹÓÃHTML5Ö§³ÖÒƶ¯WebÓ¦ÓóÌÐòÀëÏß¹¤×÷ ʹÄúµÄÓ¦ÓóÌÐòÎÞÂÛÓÐÎÞInternetÁ¬½Ó¶¼ÄÜÕý³£¹¤×÷ MichaelGalpin,Èí¼þ¼Ü¹¹Ê¦,eBay MichaelGalpinÊÇeBayµÄÒ»Ãû¼Ü¹¹Ê¦¡£Ëû¾³£ÎªdeveloperWorks׫дÎÄÕ£¬Í¬Ê±ÔÚTheServerSide.comºÍJavaDeveloperÆÚ¿¯ÉÏ·¢±íÎÄÕ£¬Ëû»¹ÓÐ×Ô¼ºµÄ²©¿Í¡£Ëû´Ó1998Ä꿪ʼ×öÖ°Òµ³ÌÐòÔ±£¬²¢ÓµÓмÓ...
469
ÈÈ¶È -
webserviceÒýÓï
webservice×¢½â JAX-WS×¢ÊÍ ¡°»ùÓÚXMLµÄWebServiceµÄJavaAPI¡±£¨JAX-WS£©Í¨¹ýʹÓÃ×¢ÊÍÀ´Ö¸¶¨ÓëWebServiceʵÏÖÏà¹ØÁªµÄÔªÊý¾ÝÒÔ¼°¼ò»¯WebServiceµÄ¿ª·¢¡£×¢ÊÍÃèÊöÈçºÎ½«·þÎñÆ÷¶ËµÄ·þÎñʵÏÖ×÷ΪWebServiceÀ´·ÃÎÊ»òÕß¿Í»§¶ËµÄJavaÀàÈçºÎ·ÃÎÊWebService¡£ JAX-WS±à³Ì±ê×¼Ö§³Ö½«¾ßÓÐÓÃÓÚ¶¨Òå·þÎñ¶ËµãÓ¦ÓóÌÐòµÄÔªÊý¾ÝµÄJava...
413
ÈÈ¶È -
HTTP Òý¼û
HTTP½éÉÜ HTTP£¨HyperTextTransferProtocol£©Êdz¬Îı¾´«ÊäÐÒéµÄËõд£¬ËüÓÃÓÚ´«ËÍWWW·½Ê½µÄÊý¾Ý£¬HTTPÐÒéµÄÖ÷ÒªÌصã¿É¸ÅÀ¨ÈçÏ£º1.Ö§³Ö¿Í»§/·þÎñÆ÷ģʽ¡£2.¼òµ¥¿ìËÙ£º¿Í»§Ïò·þÎñÆ÷ÇëÇó·þÎñʱ£¬Ö»Ðè´«ËÍÇëÇó·½·¨ºÍ·¾¶¡£ÇëÇó·½·¨³£ÓõÄÓÐGET¡¢HEAD¡¢POST¡£Ã¿ÖÖ·½·¨¹æ¶¨ÁË¿Í»§Óë·þÎñÆ÷ÁªÏµµÄÀàÐͲ»Í¬¡£ÓÉÓÚHTTPÐÒé¼òµ¥£¬Ê¹µÃHTTP·þÎñÆ÷µÄ³ÌÐò¹æģС£¬Òò¶øͨÐÅËÙ...
549
ÈÈ¶È -
¡¾×ªÔØ¡¿Javascript ¼¼ÄÜ´óÈ«
¡¾×ªÔØ¡¿Javascript¼¼ÇÉ´óÈ« [תÔØ£ºhttp://www.blogjava.net/balajinima/articles/145117.html]Javascript¼¼ÇÉ´óÈ«EventʼþʼþÔ´¶ÔÏóevent.srcElement.tagNameevent.srcElement.type²¶»ñÊÍ·Åevent.srcElement.setCapture();event.srcElement...
540
ÈÈ¶È -
Ê®·ÖÓÐÓõÄJSС¼¼ÇÉ
·Ç³£ÓÐÓõÄJSС¼¼ÇÉ ·Ç³£ÓÐÓõÄJSС¼¼ÇÉ ? 1.oncontextmenu="window.event.returnValue=false"½«³¹µ×ÆÁ±ÎÊó±êÓÒ¼ü <tableborderoncontextmenu=return(false)><td>no</table>¿ÉÓÃÓÚTable ? 2.<bodyonselectstart="returnfals...
535
ÈÈ¶È -
jsÖеÄjson¶ÔÏó(1)
jsÖеÄjson¶ÔÏó(Ò») ʹÓÃJSON½øÐÐÊý¾Ý´«Êä Ò»¡¢Ñ¡ÔñµÄÒâÒå ÔÚÒì²½Ó¦ÓóÌÐòÖз¢ËͺͽÓÊÕÐÅϢʱ£¬¿ÉÒÔÑ¡ÔñÒÔ´¿Îı¾ºÍXML×÷ΪÊý¾Ý¸ñʽ¡£ÎªÁ˸üºÃµÄʹÓÃajax,ÎÒÃǽ«Ñ§Ï°Ò»ÖÖÓÐÓõÄÊý¾Ý¸ñʽJavaScriptObjectNotation£¨JSON£©£¬ÒÔ¼°ÈçºÎʹÓÃËü¸üÇáËɵØÔÚÓ¦ÓóÌÐòÖÐÒƶ¯Êý¾ÝºÍ¶ÔÏó¡£JSONÊÇÒ»ÖÖ¼òµ¥µÄÊý¾Ý½»»»¸ñʽ£¬ÔÚijЩ·½Ã棬ËüµÄ×÷ÓÃÓëXML·Ç³£ÀàËÆ£¬µ«±ÈXML¸üΪ¼òµ¥£¬J...
408
ÈȶÈ