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

Ë­ÓÐlinuxÏÂJAVA-WEB¿ª·¢µÄ»·¾³£¿

ÈçÌ⣬×îºÃÊÇtomcat + mysql + jdk1.6µÄ
ÎÒÓиöÏîÄ¿Ïë·¢ÉÏÀ´²âÊÔһϣ¬¿´µ½µ×ÊÇÎÒ»·¾³µÄÎÊÌ⻹ÊÇ´úÂëµÄÎÊÌ⻹ÊÇÅäÖÃÄÄÀïÉÙÁËЩ¶«Î÷¡£
£¿£¿£¿
Ϊʲôһ¶¨ÒªÓÃlinuxµÄÄØ£¬
java±¾À´¾ÍÊÇ¿çƽ̨µÄÓïÑÔ£¬Ö»ÒªÔÚwindowÉÏ¿ÉÒÔµÄlinuxÒ»¶¨¿ÉÒÔ

ÎÒÒ²ÖªµÀÊÇÕâÑù¡­¡­µ«Êµ¼ÊÉÏÎÒ¿ª·¢³öÀ´²»ÊÇÕâÑù£¬¿Ï¶¨ÊÇÎÒÄÄÀï×ö´íÁË£¬ËùÒÔÎÒÏëÏòÓÐlinux¿ª·¢¾­ÑéµÄÈËÇë½Ì¡£¡£


¾ÍÊÇÎÒÓÃJSPµ÷ÓÃJDBCÀÏÊDZ¨connectionµÄ¿ÕÖ¸Õ루µ«ÎÒµ¥¶ÀÖ´ÐÐÕâ¸öJDBCÊÇÕýÈ·µÄ£¬ËµÃ÷urlÓ¦¸ÃûÎÊÌâ°É£¿£©£¬²»ÖªµÀÄãÅöµ½¹ýûÓУ¿ÄãÓÊÏä¶àÉÙÎÒ·¢ÎÒµÄÏîÄ¿¸øÄã¡£

liguominzl@163.com


ÕâЩ¶«Î÷¶¼ºÃ´ó°¡£¬ÄÄÄÜ·¢¸øÄ㣿
×Ô¼ºÈ¥Ï°¡£¬ÕÒfor linuxµÄ°æ±¾¾ÍÐÐÁË¡£

ÒѾ­·¢¹ýÈ¥ÁË£¬Êý¾Ý¿âÆäʵ¾ÍÖ»ÓÐÈý¸ö±í£¬ÔÚCA.sqlÀïÃ棨²»ºÃÒâ˼Íü¼Çµ¼³öÀ´ÁË£¬²»¹ýÐҺò»¶à£¬¾ÍÖ»ÊÇ3ÕűíºÍ¼¸¸öinser£¬È«²¿Ö´ÐоÍOKÁË£©£¬È»ºóÐÞ¸ÄÏàÓ¦µÄURLºóÃæµÄuserºÍpass¾Í¿ÉÒÔÁË°É£¿

ÒýÓÃ
ÕâЩ¶«Î÷¶¼ºÃ´ó°¡£¬ÄÄÄÜ·¢¸øÄ㣿
×Ô¼ºÈ¥Ï°¡£¬ÕÒfor linuxµÄ°æ±¾¾ÍÐÐÁË¡£



»·¾³ÎÒ¶¼×°ºÃÁ˵ġ£¡£¡£Ö»²»¹ýÎÒ×Ô¼º×öµÄÏîÄ¿ÔÚÎÒ×Ô¼ºµÄwindows»·¾³ÏÂÅÜûÎÊÌâÔÚlinuxÓÐÎÊÌ⣬¶øÇÒ³öÎÊÌâµÄÔ­ÒòºÜÆæ¹Ö£¬²ÅÈÃÎÒ²»µÃ²»À´ÇóÖú¡£ÎÒ·¢¹ý4ƪÍêÈ«Ò»ÃþÒ»ÑùµÄÌû×ÓÇóÖúÕâ¸öÎÊÌ⣬²»ÖªµÀÊÇÎÒÎʵķ½Ê½²»¶Ô»¹ÊÇÔõôÑù£¬·´Õý¸ù±¾ÎÞÈËÓÐ˼·À´½â´ð¡£

Òª²âÊÔÄǸöÄ£¿éµÄ¹¦ÄÜ£¿£¿£¿

ÄܽøÈëÊ×Ò³Â𣿣¨½¨ÁËÊý¾Ý¿âÒÔºó£©

ÏîÄ¿²¿Êðµ½tomcatÉÏÃ涼»á³ö´í
Deployment is out of date due to changes in the underlying project contents. You'll need to manually 'Redeploy' the project to update the de


Ïà¹ØÎÊ´ð£º

linux»·¾³ÏÂgethostbynameº¯ÊýÎÊÌâ - C/C++ / CÓïÑÔ

дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
   
  struct hostent *hp; 
char AlarmDevIP[20];  
  int x2;

hp = gethostbyname("www.google.com");
if (hp)
{ ......

jspÒ³Ãæ»ñÈ¡sessionµÄÎÊÌâ - Java / Java EE

ÎÒÔÚjspÒ³Ãæ´æÉÏÒ»¸ösession,±¾Ò³Ã滹¿ÉÒÔÈ¡³öÖµÀ´.
µ«ÊÇһˢÐÂ,»òÕß´ò¿ªÐµÄÒ³Ãæ¾ÍÈ¡²»³öÖµÀ´ÁË.
Ææ¹ÖµÄÊÇ,ÎÒ²âÊÔÁíÒ»¸ö³ÌÐòʱºò
ÔÚjspÒ³Ãæ´æÉÏÒ»¸ösession,±¾Ò³Ãæ¿ÉÒÔÈ¡³öÖµÀ´,ˢлò´ò¿ªÐÂÒ³ÃæÖµÄÜÈ¡³öÀ´ÁË.
......

ÔõôÓÃJavaʵÏÖ¶¨Ê±Ö´ÐÐij³ÌÐò - Java / Java SE

ÎÒÏëÓÃJavaдһ¸ö³ÌÐò£¬¾ÍÊÇÎÒÏëÔÚÔËÐдúÂëºó£¬ÔÚÖ¸¶¨µÄʱ¼ä´ò¿ªÄ³³ÌÐò£¬ÀýÈçÎÒÔËÐдúÂëºó£¬½²ÔÚ12£º00´ò¿ª"D:\Program Files\Tencent\QQ2009\Bin\QQ.exe"Õâ¸ö³ÌÐò£¬Çó¸ßÈËÖ¸µã¡£»¹ÓпÉÄܵĻ°ÔÚÖ¸¶¨µÄʱ¼ä ......

struts2ʹÓÃajaxµÄÎÊÌâ~~~ - Java / Java EE

ÎÒÏÖÔÚÓÃstruts2¿ò¼Ü,ÐèҪʹÓÃajaxʵÏÖ¾Ö²¿Ë¢Ð£¬µ«ÊÇ´ÓÈÝÆ÷Àï·µ»ØµÄÖµ²»ÖªµÀÔõô´Óstruts.xmlÅäÖÃÎļþÀïÓ³Éäµ½jspÒ³ÃæÀÒÔÇ°servletÀïдout.orint("xxxxx")¾Í¿ÉÒԵõ½~£¬µ«ÊÇÏÖÔÚÓÃstruts¾Í²»ÖªµÀÔõôР......

jspÖÐinclude.incµÄ×÷ÓÃÊÇʲô£¿ - Java / Web ¿ª·¢

jspÖÐinclude.incµÄ×÷ÓÃÊÇʲô£¿

include.incɶÒâ˼£¿Ã»Ìý˵¹ý

Java code:
<%include file="include.inc"%>¼ÓÔØÍøվĿ¼include.incÎļþÄÚÈÝ

°üº¬Ò»¸ö¾²Ì¬Ò³Ãæ°É···

& ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ