¡¡
¡¡
·¢Ð»°Ìâ
´òÓ¡

¡ïjspÁ¬½ÓmysqlÊý¾Ý¿â´óÈ«¡ï

Íõºñ³¼¡¶ºù«˿°ÍÎÚ¿¼¼¶ÇúÄ¿¾«Ñ¡¡·1µ½10¼¶
¼¯Íõºñ³¼ÀÏʦ×îд´×÷µÄÐÂÇúÖУ¬»¹Óаé×àºÍÏàÓ¦µÄʾ·¶£¬Á½¸öµú
±¾ÊéÒòΪÊܺù«˿°®ºÃÕßϲ°®£¬ËùÒÔÕâÊǵÚÈý°æÁË


Àî´º»ª½Ìѧ¾«Æ·Ê顶ºù«Çé¡·´º·Û±Ø±¸
È«ÊÕ¼Àî´º»ªÀÏʦµÄÔ­´´×÷Æ·£¬ÑÝ×à·½·¨£¬ÇúÄ¿´´×÷±³¾°µÈµÈ£¬
Ç©ÃûÊղرر¸£¬º¬Ê®¼¸Ê×Õý°æʾ·¶ºÍÏàÓ¦µÄ°é×àµúÁ½ÕÅ


ÕÅЦ±àÖø¡¶ÕÅЦºù«˿½Ì³Ì¡·µÚ¶þ°æ¡¾º¬CD¡¿
±¾ÊéÓÉÕÅЦÀÏʦ±àÖø£¬²¢¸øÈ«ÊéµÄÁ·Ï°ÇúÅäÉÏÁËÏàÓ¦µÄ°é×à·½±ã°®
ºÃÕß´ÓÁ㿪ʼѧϰ£¬¶øÇÒ»¹ÓкܶàÕÅЦÀÏʦµÄһЩºÏ×àÇú¡£


ÇÇÖ¾³À¡¶ºù«˿µÄм¼·¨ºÍÌØÊâÖ¸·¨¡·
ÇÇÖ¾³ÀÀÏʦµÄ×÷Æ·£¬Ò²¼´¡¶ºù«˿¸ßÊÖ֮·¡·´ÓÁãѧÆðµ½¾«Í¨£¬ÊÇ
ÇÇÖ¾³ÀÀÏʦ±ÏÉúµÄ×÷Æ·£¬Êܵ½¹ã´óºù«˿°®ºÃÕߺÃÆÀµÄÊ飡


¡¡

¡ïjspÁ¬½ÓmysqlÊý¾Ý¿â´óÈ«¡ï

¡ïjspÁ¬½ÓmysqlÊý¾Ý¿â´óÈ«¡ï

³õѧjspµÄÍøÓѾ­³£»áÎÊÊý¾Ý¿âÔõôÁ¬½Ó°¡£¬ÎÒ¼¯ÖеÄÔÚÕâдƪÎÄÕ¹©´ó¼Ò²Î¿¼£¬ ÏÖÔÚ¿ªÊ¼ÎÒÃǵÄjspºÍÊý¾Ý¿âÖ®ÂðÉ! ¡ñjspÁ¬½ÓMySQLÊý¾Ý¿â testmysql.jspÈçÏ£º <%@ page contentType="text/html;charset=gb2312"%> <%@ page import="java.sql.*"%> <html> <body> <%Class.forName("org.gjt.mm.mysql.Driver").newInstance(); String url ="jdbc:mysql://localhost/softforum?user=soft&password=soft1234&useUnicode=true&characterEncoding=8859_1" //testDBΪÄãµÄÊý¾Ý¿âÃû Connection conn= DriverManager.getConnection(url); Statement stmt=conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE); String sql="select * from test"; ResultSet rs=stmt.executeQuery(sql); while(rs.next()) {%> ÄúµÄµÚÒ»¸ö×Ö¶ÎÄÚÈÝΪ£º<%=rs.getString(1)%> ÄúµÄµÚ¶þ¸ö×Ö¶ÎÄÚÈÝΪ£º<%=rs.getString(2)%> <%}%> <%out.print("Êý¾Ý¿â²Ù×÷³É¹¦£¬¹§Ï²Äã");%> <%rs.close(); stmt.close(); conn.close(); %> </body> </html>

---------------------------------------------------------------------------------------------------------------------------- ʱ´ú»¥ÁªÊǹúÄÚÊ×¼ÒÍƳöJSPÐéÄâÖ÷»úµÄÍøÂçÌṩÉÌ£¬Ò»Ö±¶¼ÖÂÁ¦ÓÚΪÓû§Ìṩ¸üºÃµÄ¡¢¸üÎȶ¨¡¢¸üÏȽøµÄ¿Õ¼ä·þÎñ¡£ ¡ïÏÖÍƼöÒÔϼ¸¿îJSPÐéÄâÖ÷»ú,ÒÔ¹©²Î¿¼!

¡ñÉÌÎñAÐéÄâÖ÷»ú£º 1800 Ôª/Äê Ö§³ÖJSP/PHP £¬Êý¾Ý¿âÖ§³ÖMYSQL £¬ÓÐ500Mb ÍøÕ¾¿Õ¼ä £¬Êý¾Ý¿â¿Õ¼ä50 Mb £¬800MbÓʼþ¿Õ¼ä £¬ ½Å±¾Ö§³Ö JSP 2 / PHP 4 £¬´ø¶ÀÁ¢CGI BIN £¬Êý¾Ý¿â×Ô¶¯±¸·Ý µÈ¸ß¼¶¹¦ÄÜ °æ±¾Ö§³Ö £ºServlet2.4 JAVAMAIL1.3 JSPÖÐÎÄ JDK 1.4.X Ãâ·ÑÔùËÍ £º ¸ß¼¶·ÃÎÊ·ÖÎöϵͳ£¬ ÁôÑÔ°å £¬ ¼ÆÊýÆ÷ ¡£ ¡ñÔöÇ¿AÐéÄâÖ÷»ú£º 988 Ôª/Äê Ö§³ÖJSP/PHP £¬Êý¾Ý¿âÖ§³ÖMY SQL £¬ÓÐ250 Mb ÍøÕ¾¿Õ¼ä £¬Êý¾Ý¿â¿Õ¼ä15 Mb £¬300 MbÓʼþ¿Õ¼ä £¬30¸öÉÌÓÃPOPÕ˺Š½Å±¾Ö§³Ö JSP 2 / PHP 4 £¬´ø¶ÀÁ¢CGI BIN °æ±¾Ö§³Ö £ºServlet2.4 JAVAMAIL1.3 JSPÖÐÎÄ JDK 1.4.X Ãâ·ÑÔùËÍ £º ¸ß¼¶·ÃÎÊ·ÖÎöϵͳ£¬ ÁôÑÔ°å £¬ ¼ÆÊýÆ÷ ¡£

¡ñÐéÄâרÓÃAÐÍÖ÷»ú+.cn+.com ÅäÖÃMYSQLÊý¾Ý¿â£¬3000 MbÍøÕ¾¿Õ¼ä ËÍ2000M VIPÓÊ¾Ö 4300Ôª/Äê

¡ñ»ù±¾AÐÍÖ÷»ú+50Ôª ËÍCNÓòÃû, Ö§³ÖJSP½Å±¾Óï·½, Ãâ·ÑËÍ100MbÓʾÖ. 430Ôª/Äê

ÁíÓиü¶à³¬ÖµµÄÓÅ»ÝÌײͣ¬ÏêÇéÇë¼û£º http://www.now.net.cn/special/

------------------------------------------------------------------------------------------------------------------------- ʱ´ú»¥ÁªÐéÄâÖ÷»ú£ºnow.net.cn/host Ãâ·ÑÔÚÏß×Éѯ £ºwww.now.net.cn/customer/moreline.net µç»°×Éѯ:0756-2281071 QQ×Éѯ: 188092185 aa

TOP

¿´²»¶®,Ò²²»ÖªÕâÓëºù«˿ÓÐʲô¹Øϵ!!!

TOP

·¢Ð»°Ìâ


ÉÙÊýÃñ×åÀÖÆ÷Íø - ÁªÏµÎÒÃÇ - Çå³ý Cookies - Archiver - WAP ¹ðICP±¸14004534ºÅ

¹ð¹«Íø°²±¸ 45030402000077ºÅ

Processed in 1.136953 second(s), 10 queries .

µ±Ç°Ê±Çø GMT+8, ÏÖÔÚʱ¼äÊÇ 2024-11-23 02:01