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

JAVAÀï apache,tomcat,jboss ·þÎñÆ÷

tomcatΪһ¸öjspºÍservletµÄÈÝÆ÷£¬µ«Ëü³ýÁËÕâ¸öÍ⻹×Ô´øÁËweb·þÎñÆ÷¡£Ò²¾ÍÊÇ˵£¬Ëü¼ÈÊÇservletÈÝÆ÷£¬Ò²ÊÇÒ»¸öweb·þÎñÆ÷¡£
ËüÊÇÓÃjava±àдµÄ£¬ÓÃÀ´Ö´ÐÐservletºÍjspµÄ£¬µ«´¦Àí¾²Ì¬×ÊÔ´ÉÏapacheµÈרҵ·þÎñÆ÷¹¦ÄÜÄÇôǿ¡£ËùÒԺܶàÈËÔ¸Ò⽫Á½Õß½áºÏÆðÀ´Ê¹Óá£tomcat´¦Àí¶¯Ì¬Ò³Ãæ£¬¶øappache´¦Àí¾²Ì¬×ÊÔ´£¬ÕâÑùÁ½Õ߸÷È¡Ëù³¤¡£ÁíÍâ£¬Ëæ×ÅtomcatµÄÉý¼¶ºÍavaµÄÉý¼¶£¬tomcatµÄÐÔÄÜÔ½À´Ô½ºÃ£¬Ö±½ÓʹÓÃtomcat¾ÍÄÜÂú×ã´ó¶àÊýÐèÇó£¬Ò²¾Íû±ØÒª¼¯³ÉÁË¡£
jbossÊÇÒ»¸öejbÈÝÆ÷£¬Ã»ÓÐ´í¡£ËüͬʱҲÄÚǶÁËÒ»¸ötomcat£¬ÕâÑùµÄ»°²¿Êð·½±ã¶øÒÑ¡£¸øtomcatÔö¼ÓÁ˲¿·Öj2eeµÄ¹¦ÄܶøÒÑ¡£
×ÜÖ®£¬tomcatÊÇjbossµÄÒ»¸ö×Ó¼¯¡£tomcatÀïµÄjboss¶¼°üº¬£¬jbossÓеÄtomcat¾Í²»Ò»Ð´ÓС£µ±È»£¬Ò²¿Éµ¥¶ÀʹÓÃtomcatÈ¥µ÷ÓÃjbossÀïµÄejb
ÖÁÓÚmvc£¬ºÜ¶à³õѧÕß¶ÔÕâ¸ö¸ÅÄî²»ÊǺÜÇå³þ¡£ÏÖÔÚ£¬´ó¶àÊý¸öÈË»òСµÄ¹«Ë¾½«Õû¸öÍøÕ¾·ÅÔÚһ̨»ú×ÓÉÏ£¬Ê¹Óÿò¼Ü×ömvc»ò×ÔÒÑдmvc¡£
µ«¶ÔÓÚһЩ´óµÄ¹«Ë¾À´ËµÒ»°ãÊǽ«ºǫ́ʹÓÃejb¼¯Èº£¬×öΪģÐÍ¡£Ç°Ì¨Ê¹ÓÃtomcatµÈÇáÁ¿¼¶ÈÝÆ÷¼¯Èº£¬×ö¿ØÖƲãºÍÏÔʾ²ã£¬¾²Ì¬×ÊÔ´ÔòʹÓÃapacheµÈweb·þÎñÆ÷È¥´¦Àí¡£


Ïà¹ØÎĵµ£º

JavaÂÒÂëÔ­Òò

1¡¢Ò³Ãæ±àÂëÓëºǫ́Àà±àÂë²»Ò»Ö¡£
2¡¢ºǫ́ÀàÓëÊý¾Ý¿â½»»¥±£³ÖÊý¾Ýʱ²úÉúÂÒÂë¡£½â¾ö·½·¨£º¿ÉÒÔÔÚÇý¶¯µÄurl²ÎÊýÖÐÖ¸¶¨¡£
3¡¢¶ÁÎļþ/Á÷ʱ²úÉúÂÒÂë¡£½â¾ö·½·¨£º½¨ÒéʹÓÃFileReaderºÍFileWriterµÄ¸¸ÀࣺInputStreamReader/OutputStreamWriter£¬ËüÃÇÔÚ¹¹Ô캯ÊýÖпÉÒÔÖ¸¶¨±àÂëÀàÐÍ£ºInputStreamReader(InputStream in, Charset c ......

¹ØÓÚJAVA²¥·ÅÉùÒôÎļþ

£¨´ËÌù½÷Ïò£¬²ËÄñ¼¶JAVA³ÌÐòÔ±Ìṩ±ãÀû£¬ºÇºÇ£¬£¬ÈôÓÐÐÒ¸ßÊÖ³öÏÖ£¬»¹Íû¶à¶àÖ¸µã¡£Ð¡µÜÉõ»¶£¡£©
×î½üæÓÚ¿ª·¢Ò»Ì×¼à¿ØÏµÍ³¡£
ÐèÒª±¨¾¯ÉùÒô¡£
ÔÚѰÇó½â¾ö·½°¸µÄʱºò£¬³öÏÖÁ½ÖÖ·½°¸¡£
Ò»¡¢ÓÃjavax.sound.sampled.*°ü£¬½øÐÐÉùÒô´¦Àí¡£
¶þ¡¢ÓÃsun.audio.AudioPlayer°ü£¬½øÐÐÉùÒô´¦Àí¡£
µÚÒ»ÖÖ·½°¸ÓÃÆðÀ´£¬»á¾­³£ÐÔ³öÏÖ¿¨Ö ......

java(Web)ÖÐÏà¶Ô·¾¶£¬¾ø¶Ô·¾¶ÎÊÌâ×ܽá

1.»ù±¾¸ÅÄîµÄÀí½â
¡¡¡¡¾ø¶Ô·¾¶£º¾ø¶Ô·¾¶¾ÍÊÇÄãµÄÖ÷Ò³ÉϵÄÎļþ»òĿ¼ÔÚÓ²ÅÌÉÏÕæÕýµÄ·¾¶£¬(URLºÍÎïÀí·¾¶)ÀýÈ磺
C:\xyz\test.txt ´ú±íÁËtest.txtÎļþµÄ¾ø¶Ô·¾¶¡£http://www.sun.com/index.htmÒ²´ú±íÁËÒ»¸ö
URL¾ø¶Ô·¾¶¡£
¡¡¡¡Ïà¶Ô·¾¶£ºÏà¶ÔÓëij¸ö»ù׼Ŀ¼µÄ·¾¶¡£°üº¬WebµÄÏà¶Ô·¾¶£¨HTMLÖеÄÏà¶ÔĿ¼£©£¬ÀýÈ磺ÔÚ ......

javaÖеÄÖµ´«µÝºÍ"ÒýÓô«µÝ"

Öµ´«µÝ£º·½·¨µ÷ÓÃʱ£¬Êµ¼Ê²ÎÊý°ÑËüµÄÖµ´«µÝ¸ø¶ÔÓ¦µÄÐÎʽ²ÎÊý£¬·½·¨Ö´ÐÐÖÐÐÎʽ²ÎÊýÖµµÄ¸Ä±ä²»Ó°Ïìʵ¼Ê²Î ÊýµÄÖµ¡£
"ÒýÓô«µÝ"£ºÒ²³ÆÎª´«µØÖ·¡£·½·¨µ÷ÓÃʱ£¬Êµ¼Ê²ÎÊýµÄÒýÓÃ(µØÖ·£¬¶ø²»ÊDzÎÊýµÄÖµ)±»´«µÝ¸ø·½·¨ÖÐÏà¶ÔÓ¦µÄÐÎʽ²ÎÊý£¬ÔÚ·½·¨Ö´ÐÐÖУ¬¶ÔÐÎʽ²ÎÊýµÄ²Ù×÷ʵ¼ÊÉϾÍÊǶÔʵ¼Ê²ÎÊýµÄ²Ù×÷£¬·½·¨Ö´ÐÐÖÐÐÎʽ²ÎÊýÖµµÄ¸Ä ......

JAVAÖеĴ«µÝ¶¼ÊÇÖµ´«µÝÂð£¿ÓÐûÓÐÒýÓô«µÝÄØ£¿

JAVAÖеĴ«µÝ¶¼ÊÇÖµ´«µÝÂð£¿ÓÐûÓÐÒýÓô«µÝÄØ£¿
ÔڻشðÕâÁ½¸öÎÊÌâǰ£¬ÈÃÎÒÃÇÊ×ÏÈÀ´¿´Ò»¶Î´úÂ룺
Java´úÂë
public class ParamTest {
// ³õʼֵΪ0
protected int num = 0;
// Ϊ·½·¨²ÎÊýÖØÐ¸³Öµ
public void change(int i) {
i = 5;
}
// Ϊ·½·¨²ÎÊýÖØÐ¸³Öµ
public void change(ParamTest t) {
P ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ