Java webÏîÄ¿´ò°ü - Java / Web ¿ª·¢
ÎÒ×öµÄJava webÏîÄ¿ÓõŤ¾ßÊÇMyEclipse + SQL Server 2000 + tomcat6.0
Ïò¸÷λÅóÓÑÇë½ÌÒ»ÏÂÔõÑù¶ÔJava webÏîÄ¿½øÐдò°ü£¬Æ½ÇÒÆô¶¯tomcat¾Í¿ÉÒÔÔËÐÐÏîÄ¿ÁË
È¥tomcat->webappsÏÂÃæÕÒµ½ÄãµÄÏîÄ¿¾ÍÐÐÁË£¬ Õâ¸ö¾ÍÊDZà¼ÍêµÄ ¡£
Êý¾Ý¿âÎļþ±ð´òµ½war°üÈ¥Á˰¡.!,ÄÇûÓÃ.! war°ü¼ÇµÃ·ÅÔÚtomcatµÄwebappÏÂ, Ëü»á×Ô¶¯½âѹµÄ
¶÷£¬Â¥ÉÏÕý½â
ÕâÁ½¸ö¶¼ÐÐ
Â¥ÉÏÕý½â
¶¼ÓÐÈË˵ÁË¡£ ÎҾͲ»ËµÁË¡£ ¶¼ÔÚÉÏÃæÁË¡£
ҲѧϰÁË¡¡
Â¥ÉÏÕý½âŶ
ÏîÄ¿ÉÏÓÒ»÷£ºExport--->j2ee-->war file----> µã»÷next ——>war file Ñ¡Ôñ·¾¶¡£
½«*.war°ü·ÅÔÚ·þÎñÆ÷µÄwepappĿ¼Ï——>Æô¶¯·þÎñÆ÷----->ÔÚä¯ÀÀÆ÷·ÅÉÏ·ÃÎÊ·¾¶¼´¿É¡£
Êý¾Ý¿â²»Òª·ÅÔÚwar°üÖС£
Ŷ Á˽âÁË
¹«Ë¾Ò»°ãÓà ant»òÕßmaven
×î¶àÓõÄÊÇmarven£¬ÓÃpackageÃüÁî¾ÍÐÐÁË£¬²»¹ýÊÇÌØÊâµÄĿ¼½á¹¹£¬ÆÕͨµÄÒ²´ò²»Á˰ü£¬ÒòΪҪ¿¼ÂÇ·Ö¹¤¡£¡£
Ö»ÊÇËæÒâÌáһϣ¬Â¥Ö÷ÔÚ¹«Ë¾×ö¿ª·¢ ¿ÉÄÜ»áÓõ½
ºÇºÇ¡£¡£Ñ§Ï°ÏÂ
¶÷ ѧϰ
Ïà¹ØÎÊ´ð£º
µ±ÖªµÀÒ»¸öÈÕÆÚ£¬ÈçºÎ°ÑÕâ¸öÈÕÆÚËùÔÚÑ®µÄǰºóÁ½¸öÈÕÆÚÈ¡³ö
±ÈÈçÊäÈë20090905£¬¾ÍÊäÈë20090901 20090910
Êä³ö20090901 20090910
È¡µÃÌìÊýºó×÷Ò»ÏÂÅжÏÔÙ°ÑÕâ¸ö·½·¨ÓÃÏÂvoid set(int field, int value)
......
ÎÒJSPµÄÒ³ÃæÊÇ£º
<%@ page language="java" contentType="text/html; charset=gb2312"
%>
<script>
function Save(){
xmlHttp=GetXmlHttpObject()
if(xmlHttp==nul ......
ÔھƵê¹ÜÀíϵͳÖÐ,ÓÐÒ»¸ö¶ÔÄÚµÄϵͳ,¹©Ç°Ì¨·þÎñÔ±ºÍ¾ÀíʹÓÃ
»¹ÓÐÒ»¸ö¾ÍÊǶÔÍâ,Èÿͻ§¿ÉÒÔÔÚÍøÉÏÔ¤¶©·¿¼ä,
ËüÃÇÖ®¼äÊÇÔõôͨѶµÄ.?µ±ÎÒÌá½»Ô¤¶©·¿¼äÐÅÏ¢µÄʱºò,
ÔÚ¶ÔÄÚµÄϵͳÖÐ,ÈçºÎÖªµÀÎÒÒѾÌá½»ÁËÐÅÏ¢¹ýÈ¥.Ê¹Ç ......
ÎÒдÁ˸öjspÒ³Ãæ£¬È»ºó¸Ä¶¯ÁËһϣ¬¸Ä¶¯µÄÄÚÈݾÍÊÇÔÚjspÒ³ÃæµÄjsº¯ÊýÀï¼ÓÁ˸öalert()Óï¾ä£¬µ«ÊÇÎÒ·ÃÎÊÕâ¸öÒ³ÃæÊ±£¬ËÀ»î¶¼ÊÇÔÀ´Ò³ÃæµÄÄÚÈÝ£¬ÎÒ¼ÓÁ˺ܶàalertº¯Êý»¹ÊÇû¸Ä¶¯Ç°µÄÒ³ÃæÄÚÈÝ£»tomcatÖØÆôÁË£¬Ò²ÖØÐ²¿ÊðÕâ ......
ÏÖÔÚ²»ÏëÓÃ<a> </a> ±êÇ© £¬ÒòΪµã»÷ºó»á³öÏÖÒ³ÃæÖØ¶¨Î»£¬¸øÎÄ×Ö¼ÓÉÏcssÑùʽ¾Í¿ÉÒÔ¿´ÆðÀ´ ÊÇhrefÔõôʵÏÖÕâÑùµÄcss
text-decoration:underline; cursor:hand;
ÒýÓÃ
text-decoration:underline; cur ......