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

2010.5.5¼Ç£¨JSPÖÐÒýÓÃjsÎļþ»á·¢ÉúÒýÓò»µ½µÄÎÊÌ⣩

ÔÚJSPÖÐÒýÓÃjsÎļþ»á·¢ÉúÒýÓò»µ½µÄÎÊÌ⣺
    ÔÚwebÏîÄ¿À´æÔÚWEB-INFÎļþĿ¼£¬ÎҵĴíÎó×ö·¨ÊǰÑjs£¬image£¬CSS¶¼·ÅÔÚ´ËÎļþ¼ÐÏ¡£×î³õÒÔΪÊÇÏà¶Ô·¾¶Óë¾ø¶Ô·¾¶¸ã´íÁË£¬µ«ÊÇÔõôÐÞ¸ÄÒ²ÎÞ·¨½â¾öÎÊÌâ¡£µ÷ÓÃjsʱ×ÜÊǻᱨȱÉÙ¶ÔÏó£¬×îºóÁ˽âÊÇÒòΪWEB-INFÕâÀïµÄ¶«Î÷ÊDz»ÈÃÖ±½Ó·ÃÎʵġ£ËùÒԸı䷽·¨°ÑÕâЩÎļþ¾Í¶¼·ÅÔÚÁ˸ùĿ¼Ï£¬ÒýÓ÷½Ê½ÊÇ<script src="js/ui.datepicker.js" type="text/javascript"></script>ÕâÑù¾ÍÕýÈ·ÁË
µ÷ÓÃjQueryÈÕÆÚ¿Ø¼þµÄʱºò£¬»áдһ¸öÖÐ-Ó¢ÎÄת»»µÄjs£¬±¾Éí¿Ø¼þÊÇÓ¢Îĵ쬼ÓÈëÖÐÎĵÄÎĵµ¾Í»á×Ô¶¯¼ÓÔØ³ÉΪÖÐÎÄÏÔʾ£¬µ«ÊǼÓÔØÊ±³öÏÖÖÐÎÄÂÒÂëµÄÇé¿ö£¬×îºó½â¾öÊÇÒòΪjsÎļþÊôÐÔûÓиijÉutf-8µÄ¸ñʽ¡£


Ïà¹ØÎĵµ£º

Intellij8ÖÐMaven´ò°üʱjspºÍservlet×é¼þ³åÍ»½â¾ö°ì·¨

    ×î½üÔڸıðÈ˵ÄÒ»¸öÄ£¿é³ÌÐòʱ£¬ÊÇÓÃIntellij Idea8×öµÄ£¬ÏîÄ¿ÊÇÓÃMavenÀ´¹ÜÀíµÄ£¬WebÄ£¿éÒýÓõ½ÁËjsp-api.jarºÍservlet-api.jar£¬½á¹ûÔÚÓÃMaven´ò°üʱ£¬warÎļþÖÐÖ±½Ó°ü×°ÁËÕâÁ½¸öÎļþ£¬¶øÕâÁ½¸öÎļþºÍTomcat±¾ÉíµÄÎļþÓгåÍ»£¬µ¼ÖÂÁËÓ¦ÓóÌÐò²»ÄܼÓÔØ¡£
    ±¾À´×Ô¼º¶ÔIdeaÒ²²»ÊìϤ£¬ ......

Java¡¢JSP¡¢HTML¡¢XML±àд¶¼Òª·ûºÏÒÔϱàÂë¹æÔò£¡

1 ËùÓÐµÄ .java|.jsp|.html|.xml Ô´Îļþ¾ùʹÓÃutf-8±àÂë¸ñʽ±£´æµ½ÏµÍ³´ÅÅÌ¡£
È磺ÔÚEclipseÖб༭Îļþ£¬Ñ¡ÖÐÎļþ´ò¿ªÓÒ¼ü²Ëµ¥Ñ¡ÔñÊôÐÔ£¬½«Îı¾Îļþ±àÂëÉèÖÃΪÆäËû²¢Ñ¡ÔñUTF-8£»Ò²¿ÉÒÔÔÚ
Eclipse——Ê×Ñ¡Ïî——³£¹æ——ÄÚÈÝÀàÐÍÖÐÉèÖø÷ÖÖÎļþµÄȱʡ±àÂ룬ÕâÑùÒÔºóËùÓеÄÎı¾Îļþ¶¼Ê¹ÓÃÍ³Ò ......

JSPÏîÄ¿¶ÁÈ¡ÅäÖÃÎļþС½á

×î½üÔÚдJSPµÄСÏîÄ¿£¬²»Ïë°ÑÊý¾Ý¿â£¬Êý¾ÝÎļþ¼Ð·¾¶µÈÅäÖÃÐÅϢдËÀÔÚ´úÂëÖУ¬ÓÚÊÇ×ÁÄ¥ÓÃxmlÅäÖÃÎļþµÄ·½·¨£¬ÏÖÔÚ½«Ê¹ÓÃÐĵÃ×ܽáһϣº
1.³ýÁËÒýÈëdom4j.jar°üÖ®Í⣬ʹÓÃXPATH±ØÐëÒýÈëjaxen.jar°ü£¬·ñÔòÀÏÊDZ¨´í¡£(ÔÚdom4jµÄ½âѹÎļþ¼ÐϵÄlibÎļþ¼ÐÖпÉÒÔÕÒµ½jaxen.jar)
2.ÖØµã£ºÓÉÓÚÊÇÒªÔÚtomcat»·¾³Ö®ÏÂʹÓÃjava·ÃÎÊÎÄ ......

£¨×ª£©CENTOS4ÅäÖÃJSP½Ì³Ì

ת×Ô£ºhttp://www.centospub.com/make/servlet.html
ǰ¡¡¡¡ÑÔ
¡¡¡¡Ëùν Java Servlet £¬ÊÇÖ¸Óà Java ÓïÑÔ£¬ÊµÏÖ¶¯Ì¬ÍøÒ³µÄ´´½¨µÄ¹¦ÄÜ£¬Ò»°ã°Ñ¼òµ¥µÄ°ÑËü³ÆÎª“Servlet”£¨ÎÞÖÐÎÄÒëÎÄ£©µÄÇé¿ö±È½Ï³£¼û¡£ºÍËü´¦ÓÚͬµÈÀà±ðµÄ¼¼Êõ»¹ÓÐÎÒÃÇÖªµÀµÄPerl¡¢PHP¡¢ASPµÈµÈ¡£ServletËãÊÇJ2EEÖеÄÒ»²¿·Ö£¬ËùÒÔÔÚÆóÒµÓ¦Ó÷½Ãæ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ