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

JspÁ¬½ÓMSSQL2000µÄÁ½ÖÖ·½·¨


JspÁ¬½ÓMSSQL2000µÄÁ½ÖÖ·½·¨
×î½üÔÚѧϰJSPWeb£¨Tomcat·þÎñÆ÷£©Ó¦Óÿª·¢ºÍ»ùÓÚWeblogicºÍMyelcipseµÄJEE5µÄ¿ª·¢£¬ÔÚѧϰ¹ý³ÌÖÐÉæ¼°µ½Á¬½ÓSQL 2000 Êý¾Ý¿âʱ£¬ÓÉÓÚÈí¼þ»·¾³µÄ²îÒìÐÔºÍһЩ°æ±¾ÎÊÌ⣬»¨Á˺ô󹦷ò²ÅÁ¬ÉÏ£¬ËùÒÔÔÚ´Ë×÷¸ö×ܽᣬϣÍûÄܸø´ó¼ÒһЩ°ïÖú£¬²»ÒªÔÚ»ù±¾µÄ¶«Î÷ÉÏ»¨·ÑÌ«¶àµÄʱ¼ä¡£
·½·¨Ò»£ºÀûÓÃSQL Server 2000 For JDBC Çý¶¯³ÌÐòÁ¬½Ó
ÐèÒªÌõ¼þ£º£¨1£©ÏÂÔØ°²×°SQL Server 2000 For JDBCÇý¶¯³ÌÐò
         £¨2£©ÅäÖû·¾³±äÁ¿
         £¨3£©Èç¹ûͨ¹ýÇ°Á½²½Á¬²»Éϳ¢ÊÔһϸøSQL Server 2000´ò¸ö²¹¶¡
£¨SQL2000-KB884525-SP4-x86-CHS.EXE£©
 ¾ßÌå²½Ö裺
£¨1£©´Ó΢ÈíÍøÕ¾http://download.microsoft.comÉÏÏÂÔØÇý¶¯³ÌÐò£ºSQL Server 2000 For JDBC
ÈôÕÒ²»µ½ÔÙÌṩһ¸öÍøÖ·£º
http://download.microsoft.com/download/3/0/f/30ff65d3-a84b-4b8a-a570-27366b2271d8/setup.exe
   Jdbc_setup.exe ĬÈϵݲװ·¾¶ÎªC:\Program Files\Microsoft SQL Server 2000 Driver for JDBC£¬°²×°Ä¿Â¼\lib\ϵÄÈý¸öjar ÎļþÊÇJDBC Ö§³ÖSQL Server Êý¾Ý¿âµÄÇý¶¯ºËÐÄ¡£½«ÕâÈý¸öjarÎļþ£¨msbase.jar, mssql-server.jar, msutil.jar£©¸´ÖƵ½TomcatĿ¼ÏµÄcommon\lib×ÓĿ¼¡£
  £¨2£©»·¾³ÅäÖãºÔÚ»·¾³±äÁ¿ÖÐÐÂÔöJDBC_HOMEϵͳ»·¾³±äÁ¿£¬ÖµÎªC:\Program Files\Microsoft SQL Server 2000 Driver for JDBC
   °ÑSQL Server 2000 For JDBC Çý¶¯³ÌÐò°²×°Ä¿Â¼ÏµÄÈý¸öjarÎļþÌí¼Óµ½»·¾³±äÁ¿CALSSPATHµÄÖµÖУ¬Ä¿µÄÊÇ·ÀÖ¹jspÒ³ÃæÔڱ༭¹ý³ÌÖлá³öÏÖÕÒ²»µ½sql server driverÀà¿âµÄÎÊÌâ¡£Ìí¼ÓµÄÄÚÈÝÈçÏ£º%JDBC_HOME%\lib\msbase.jar;
   %JDBC_HOME%\lib\mssqlserver.jar;  %JDBC_HOME%\lib\msutil.jar;
   ÖÁ´Ë£¬»ù±¾µÄÅäÖÃÒѾ­Íê³É£¬ÖØÆôһϻú×Ó£¬ÓÃÄãµÄÀý×Ó²âÊÔ¿´ÊÇ·ñÁ¬½ÓµÃÉÏ£¬Èç¹ûÁ¬²»ÉÏ¿ÉÄÜÊÇÄãµÄÊý¾Ý¿âÐèÒª´ò¸ö²¹¶¡£¬Éý¸ö¼¶¡£
  £¨3£©¸øÄãµÄSQL Server 2000´ò¸ö²¹¶¡¡£
   ÔÚ´ËÎÒËù´òµÄ²¹¶¡°æ±¾Îª SQL2000-KB884525-SP4-x86-CHS Õâ¸ö¿ÉÒÔÔÚÍøÉÏÕÒµ½¡£
   °²×°¹ý³Ì£ºÏÂÔØÖ®ºóË«»÷Ëü£¬½«Ëü½âѹµ½Ò»¸öÅÌ£¨ÈÎÒ⣩£¬È»ºóÔÚÆä½âѹĿ¼˫»÷setup.batÅú´¦ÀíÎļþÀ´´ò²¹¶¡£¬Ö®ºó¸ù¾Ý°²×°³ÌÐòµÄÒýµ¼Íê³É²¹¶¡µÄ°²×°£¨×¢Òâ´Ë¹ý³ÌÓÐÁ½¸´Ñ¡¿òÑ¡Ïîʱ Ö»¹´Ñ¡¡¾Éý¼¶Mcrosoft Search ²¢Ó


Ïà¹ØÎĵµ£º

ͼÎÄÏê½âSilverlight·ÃÎÊMSSQLÊý¾Ý¿â

ÔÚÒø¹âÖйúÍø£¨SilverlightChina.Net£©ÓÐһƪ"SilverlightÓë³£ÓÃÊý¾Ý¿â»¥²Ù×÷ϵÁÐ"ÎÄÕ£¬ÆäÖнéÉÜÁËʹÓÃSilverlight´æÈ¡²»Í¬Êý¾Ý¿âµÄ·½·¨ºÍ²½Öè¡£µ«ÊǶÔÓÚSilverlight´æÈ¡MS SQL½éÉܵIJ»¹»È«Ã棬ÕâÀïÎÒÏë½éÉÜSilverlightÈçºÎͨ¹ýWCF·ÃÎÊMSSQLÊý¾Ý¿â´æ´¢¹ý³ÌµÄ¡£Ï£Íû¶Ô´ó¼ÒÄܹ»ÓÐËù°ïÖú¡£
ÎÒÃÇҪʵÏÖ£¬ Óû§ÊäÈëÓû§ÃûºÍÃÜ ......

jspÖÐ×÷ÓÃÓòscope¸ÅÄî

¼¸ºõËùÓеÄWeb¿ª·¢ÓïÑÔ¶¼Ö§³ÖSession¹¦ÄÜ£¬ServletÒ²²»ÀýÍâ¡£ Servlet/JSPÖеÄSession¹¦ÄÜÊÇͨ¹ý×÷ÓÃÓò(scope)Õâ¸ö¸ÅÄîÀ´ÊµÏֵġ£
×÷ÓÃÓò·ÖΪËÄÖÖ£¬·Ö±ðΪ£º
page
ÔÚµ±Ç°Ò³ÃæÓÐЧ(½öÓÃÓÚJSPÖÐ)
request
ÔÚµ±Ç°ÇëÇóÖÐÓÐЧ
session
ÔÚµ±Ç°»á»°ÖÐÓÐЧ
application
ÔÚËùÓÐÓ¦ÓóÌÐòÖÐÓÐЧ
ÊDz»ÊÇ¿´²»Ì«Ã÷°×£¿pageÒòΪ½ ......

JSPÔÚÏ߱༭Æ÷

 ±¾Àý×ÓÔÚWindows+Tomcat6(weblogic9.2)+jdk1.6ÏÂÔËÐС£
1£©°²×°ºÃjdk1.6£¬È»ºó°²×°tomcat6.
2£©ÔÚtomcatĿ¼µÄconfĿ¼Ï£¬ÐÞ¸Äserver.xml¡£
 ±¾Àý×ÓÊÇĬÈÏÅäÖÃÔËÐÐÔÚÐéÄâĿ¼Ï£¬,²¢ÇÒÉÏ´«»ù׼Ŀ¼µÄÎïÀí·¾¶ÔÚµ±Ç°Ó¦ÓÃÏ¡£Çë¸ù¾ÝµÚ3µã£¬ÔÚ¶ÔÓ¦µÄhost½ÚµãÉϼÓÈëÀ¶É«²¿·Ö´úÂë¡£
1£©Èç¹ûÓ¦Óò¿ÊðÔÚÍøÕ¾¸ùĿ¼ ......

¹ØÓÚjspÂÒÂëÎÊÌâµÄ½â¾ö°ì·¨

Ò»£¬´¿´âµÄjspÒ³ÃæÖÐÎÄÂÒÂë
   Ô­Òò£º¶Ôjsp´úÂëµÄ±àд£¬Ä¬ÈϵÄ×Ö·û¼¯Ê“ISO-8859-1”£¬Èç¹û´úÂëÖдæÔÚÖÐÎÄ£¬Ôò»á³öÏÖÂÒÂ룡
   ½â¾ö°ì·¨£ºÔÚpageÖмÓÉÏcontentType="text/html;charset=gb2312"£¬²ÉÓùú±êÀ´·­ÒëÒ³ÃæÖеĴúÂ룡
¶þ£¬post·½Ê½Ìá½»±íµ¥³öÏÖÂÒÂë
   Ô­Òò£º ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ