¡ï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