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

jspÖÐÁ¬½ÓÊý¾Ý¿âµÄÎÊÌâ

½ñÌìÔÚѧϰjspÖÐÊý¾Ý¿âµÄʹÓÃʱ£¬Óöµ½Ò»¸öºÜÆæ¹ÖµÄÇé¿ö£¨ÖÁÉÙÏÖÔÚ¿´À´Êǵģ©¡£jspÖÐÁ¬½ÓmysqlÊý¾Ý¿â£¬¿ªÆômysqlÊý¾Ý¿âºó£¬ÔÚjspÒ³ÃæÖÐǶÈëµÄjavaÁ¬½ÓmysqlÊý¾Ý¿âµÄÄǼ¸¾ä´úÂë¡£ºÃÏñ Class.forName("org.gjt.mm.mysql.Driver");ûÆðµ½×÷Óã¬Ö»ÐèÒªConnection con=DriverManager.getConnection("jdbc:mysql://localhost/test?user=&password=");¾ÍÐÐÁË¡£µ«ÊÇÔÚ´¿java³ÌÐòÖУ¬Ã»ÓÐClass.forName()»òÕßÀïÃæµÄÇý¶¯Ð´´íÁ˾ͻᱬ³öClassNotFoundException¡£Èç¹û²»Æô¶¯mysqlÊý¾Ý¿âµÄ»°£¬ÒªÏëÁ¬½ÓÊý¾Ý¿â£¬jspÔòÐèÒªÅäÖÃÊý¾Ý¿âÁË¡£ÄÇjspÖÐÁ¬½ÓÊý¾Ý¿âµÄʵÏÖ»úÖÆ¾¿¾¹ÊÇÔÚÔõôÑùµÄÄØ£¿
ÏÖÔÚÃ²ËÆÁ¬Connection con=DriverManager.getConnection("jdbc:mysql://localhost/test?user=&password=");¶¼²»ÐèÒªÁË£¬Connection con=DriverManager.getConnection("")¾Í¿ÉÒÔÁË£¬ÕÕÑùµØÁ¬½ÓÊý¾Ý¿â£¬¶ÔÊý¾Ý¿â½øÐÐÔöɾ¸Ä²é¡£ÕâÑù˵µÄ»°£¬mysqlÊý¾Ý¿âÔÚ°²×°µÄʱºò¾ÍÒѾ­ÅäÖúÃÁË¡£¡£¡£¡£?


Ïà¹ØÎĵµ£º

JSP²ÊÉ«ÑéÖ¤Âë

JSP²ÊÉ«ÑéÖ¤Âë
Éú³ÉÓÐ4¸öËæ»úÊý×ÖºÍÔÓÂÒ±³¾°µÄͼƬ£¬Êý×ֺͱ³¾°ÑÕÉ«»á¸Ä±ä£¬·þÎñÆ÷¶ËˢУ¨ÓÃhistory.go(-1)Ò²»á±ä£©
Ô­ÐͲο¼ALIBABA http://china.alibaba.com/member/showimage
²úÉúÑéÖ¤ÂëͼƬµÄÎļþ-----image.jsp
<%@ page contentType="image/jpeg" import="java.awt.*,java.awt.image.*,java.util.*,java ......

proxoolÔÚjspÖеÄÓ¦ÓÃ

ÏÈÌù¸ö½éÉÜ
http://i.cn.yahoo.com/suzie0228/blog/p_41/
proxoolÊÇÒ»¸ö¿ªÔ´µÄÁ¬½Ó³Ø£¬ÐÔÄÜÓÅÒ죬×îºÃµÄÊÇ£º¼´Ê±¼à¿ØÁ¬½Ó³Ø×´Ì¬
ÏÂÃæ¼òµ¥ËµËµËüµÄʹÓ÷½·¨£º1¡¢Ê×ÏÈÏÂÔØproxool µØÖ·£ºhttp://proxool.sourceforge.net
2¡¢½âѹËõproxool-0.9.0RC3.zip£¬¿½±´libϵÄËùÓÐjar¿âÎļþµ½ÄãµÄ¹¤³ÌϵÄWEB-INF/libÏ£¬Í¬Ê±¼ÇµÃÒ² ......

ÅäÖÃTOMCAT+ECLIPSE+MYSQLµÄJSP»·¾³

ÅäÖÃTOMCAT+ECLIPSE+MYSQLµÄJSP»·¾³
¹Ø¼ü´Ê£º JSP»·¾³ÅäÖà    TOMCAT+ECLIPSE+                                     &nbs ......

ajaxÇëÇójspÎļþµÄÎÊÌâ

       Ò»¸öajaxÇëÇóÒ»¸öjspÎļþ£¬²Ù×÷³É¹¦,jspÎļþout.println("1");µ«ÊÇÿ´Î³É¹¦ºóxmlHttp.responseText=='1'×ÜÊÇΪfalse£¬
ÓÃencodeURIComponent¿´xmlHttp.responseText£¬·¢ÏÖ×îºó¶àÁË%0A%0D£¬°Ù¶ÈһϠÓÃÀ´ÊÇ»»ÐУ¬
jspÎļþÖеÄout.println……°ÑlnÈ¥µôÔÙ´Î±È½Ï ³É¹¦ = =¡ ......

JSP¿ìËÙÈëÃŽ̳̗—ȫʮ½²

µÚÒ»½²£¨²Î¿¼¡¶Java Web³ÌÐòÉè¼Æ»ù´¡½Ì³Ì¡·µÚ1Õ£©
1 JSP ºÍ JavaµÄ¹ØÏµ
   Ò»°ãJavaÖ¸µÄ±ê×¢°æ Java SE
   ÁíÍâÁ½¸ö°æ±¾£ºJava EE ºÍ Java ME
   JSPÊôÓÚJava EEµÄÒ»²¿·Ö¡£
   Java EE£º
     ×é¼þ£ºWeb²ã×é¼þ£¨JSP£«Servlet£©£«ÒµÎñ²ã×é¼þ£¨EJB£©
&n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ