C/SÏîÄ¿¼Ü¹¹Éè¼Æ----ÇóÖú - Java / Java SE
±¾ÈËÕýÔÚÓÃJava×öÒ»¸öC/S¼Ü¹¹µÄÏîÄ¿£¬
¿ÉÊÇÓÉÓÚÏîÄ¿±È½Ï´ó£¬Ç°ÆÚ¶Ô¼Ü¹¹µÄÉè¼ÆÓÈÆäÖØÒª£¬ÒòΪºóÆÚ¿ÉÄÜËæÊ±»á¼Ó¸ö¹¦ÄÜ»òÕßÈ¥µôijЩ¹¦ÄÜ¡£
ËùÒÔÌØµØÑ°ÇóÈçºÎÉè¼ÆC/SµÄ¼Ü¹¹Ê¹³ÌÐò¸ü¼ÓÃæÏò¶ÔÏó¸ü¼ÓÒ×ÓÚά»¤ºÍÀ©Õ¹¡£
ÓÉÓÚÔÚÕâ·½Ãæ¾Ñé²»×㣬Çë´ó¼Ò°ïÖú£¡
ÎÊÌâ²¹³ä£º
Èí¼þÉè¼ÆµÄÔÔòÎÒ»¹ÊÇÖªµÀµÄ£¬¸ßÄÚ¾Û£¬µÍñîºÏÎÒ¶¼ÖªµÀ¡£
¿ÉÊÇÎÒÊÇÏë˵¾ßÌåÒ»µã¡£
±ÈÈ磬±ÈÈçÒ»¸ö´°ÌåÀïÓкܶàµÄÊý¾Ý£¬¶øÕâЩÊý¾Ý²»¿ÉÄÜÊÇÒ»¸öÀàÀïµÄ¡£
ÊǺܶà¸öÀàµÄ×éºÏÊý¾Ý£¬ÄÇôÈç¹ûÎÒÔÚ´°ÌåµÄ´úÂëÀï¼ÓÈëÕâЩÁãÁãɢɢµÄÊý¾Ý£¬¿Ï¶¨ÊDz»ºÃµÄ¡£
ÄÇôÎÒ¾ÍÒª·ÖÀë³ö½çÃæ£¨ÏÔʾ²ã£©ºÍÄÚÈÝ£¨Êý¾Ý²ã£©¡£
ÄÇôһ¸ö½çÃæÓÖ¶ÔÓ¦ºÜ¶àµÄBean¡£¡£
ÎÒÓÖÏë¸ø½çÃæ×ö¸ö¶ÔÓ¦µÄModelÀ࣬±ÈÈçXXXview ¶ÔÓ¦ XXXmodel£¬
È»ºóÔÚXXXmodelÀï×éºÏBean¡£¡£ÔÚÏÔʾ²ãÖ»µ÷ÓÃһ϶ÔÓ¦µÄmodel¡£
ÀàËÆÕâÑùµÄ˼Ïë¡£¡£
ÎÒÏëÁ˺ܶࡣ¸Ð¾õ¶¼²»ÊǺÜÍêÉÆ¡£¡£
ËùÒÔÏ£Íû°ïÖú¡£¡£
ûÓоÑéµÄʱºò£¬Ó¦¸ÃÏȰѻù±¾¹¦ÄÜʵÏÖ£¬ºóÃæÔÙÂýÂýÓÅ»¯£¬×îºó×ܽᣬÒÔºóÓöµ½ÀàËÆµÄÇé¿ö¾Í¿ÉÒÔдµÃ¸ü¼ÓºÏÀíÁË
ÒªÊÇÎÒ£¬ÎÒÒ²»áÓÃLSµÄ·½·¨
¶ÔÓÚ´óµÄÏîÄ¿ÎÒҲûÓÐÕæÕýµÄ×ö¹ý¡£²»¹ýÌýǰ±²ÃÇ˵£º¡°Ôڼܹ¹·½ÃæÏÈÃæÏò¶ÔÏóÈ¥Ïë¡£²»ÒªÈÃÊý¾ÝÓ°Ïì˼¿¼¡£
»¹ÓоÍÊǼÇס֨¹¹¡¢²âÊÔ¡£Ä£Ê½¾Í³öÀ´ÁË¡£"
ÎÒ¶ÔJava SwingµÄC/SÏîÄ¿¿ª·¢£¬±È½ÏÓоÑ飬¿ÉÒÔÓëÎÒÁªÏµ£º
SnowingXimen@163.com
1.ÄÇôÎÒ¾ÍÒª·ÖÀë³ö½çÃæ£¨ÏÔʾ²ã£©ºÍÄÚÈÝ£¨Êý¾Ý²ã£©¡£
×îºÃÏÈ×öÕâ¸ö£¬ÐèÇóÀíÇå³þ¡£
2.¸ù¾ÝÐèÇóÉè¼Æ±í½á¹¹¡£
3.¸ù¾ÝÐèÇóÉè¼ÆÒµÎñÁ÷³Ì¡£
4.¸ù¾Ý±í½á¹¹ÕûÀíja
Ïà¹ØÎÊ´ð£º
ÎÊÌâÃèÊö£ºÐ´ÈÕÖ¾¹¦ÄÜ£¬Ð´ºÃµÄдÈÕÖ¾·þÎñ£¬ÆäËûÓû§Í¨¹ýhttpµ÷Ó÷þÎñ£¬´«Èë²ÎÊý£¬È»ºó¼Ç¼ÈÕÖ¾£¬
ÎҵķþÎñ¸ÃÔõôд£¬ ±ðÈËÔõôͨ¹ýhttpµ÷ÓÃÎҵķþÎñ£¬ÎÒÓÃwebserviceдºÃÁËÒ»¸ö£¬¿ÉÊDz¢·¢ÓÐÉÏÏߣ¬Ïë¸ÄÓ ......
ÎÒÏëÓÃJavaдһ¸ö³ÌÐò£¬¾ÍÊÇÎÒÏëÔÚÔËÐдúÂëºó£¬ÔÚÖ¸¶¨µÄʱ¼ä´ò¿ªÄ³³ÌÐò£¬ÀýÈçÎÒÔËÐдúÂëºó£¬½²ÔÚ12£º00´ò¿ª"D:\Program Files\Tencent\QQ2009\Bin\QQ.exe"Õâ¸ö³ÌÐò£¬Çó¸ßÈËÖ¸µã¡£»¹ÓпÉÄܵϰÔÚÖ¸¶¨µÄʱ¼ä ......
import java.sql.Connection;
import java.sql.Date;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class QueryTest&n ......
ÎÒÏÖÔÚÓÃstruts2¿ò¼Ü,ÐèҪʹÓÃajaxʵÏÖ¾Ö²¿Ë¢Ð£¬µ«ÊÇ´ÓÈÝÆ÷Àï·µ»ØµÄÖµ²»ÖªµÀÔõô´Óstruts.xmlÅäÖÃÎļþÀïÓ³Éäµ½jspÒ³ÃæÀÒÔǰservletÀïдout.orint("xxxxx")¾Í¿ÉÒԵõ½~£¬µ«ÊÇÏÖÔÚÓÃstruts¾Í²»ÖªµÀÔõôР......
ÏÈÉÏ´íÎó
ÎÞ·¨Áª½ÓÊý¾Ý¿â
java.sql.SQLException: Before start of result set
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:910)
at com.mysql.jdbc.ResultSet.checkRowPos(ResultSet.java: ......