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

eclipseÁ¬½ÓmysqlÊý¾Ý¿â - Java / Eclipse

ÏÈÉÏ´íÎó
ÎÞ·¨Áª½ÓÊý¾Ý¿â
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:720)
at com.mysql.jdbc.ResultSet.getStringInternal(ResultSet.java:5624)
at com.mysql.jdbc.ResultSet.getString(ResultSet.java:5544)




ÎÒÓÃeclipseÁ¬½ÓmysqlÊý¾Ý¿â
±¾µØÓÐmysqlÊý¾Ý¿â

ÒѾ­¼ÓÔØÇý¶¯¡£

´úÂëÈçÏ ºÜ¼òµ¥
package test;
import java.sql.*;

public class Conn {
  public static void main(String[] args) {
 String username = "root";
 String password = "root";
 String url = "jdbc:mysql://127.0.0.1:3306/mysql";

 try {
  String driver = "com.mysql.jdbc.Driver";
  Class.forName(driver);
  java.sql.Connection cn = DriverManager.getConnection(url, username, password);

   
 } catch (ClassNotFoundException cnfex) {
  System.out.println("×°ÔØJDBC/ODBC Çý¶¯³ÌÐòʧ°Ü");
  cnfex.printStackTrace();
 } catch (SQLException sqlex) {
  System.out.println("ÎÞ·¨Áª½ÓÊý¾Ý¿â");
  sqlex.printStackTrace();
 } catch (Exception ex) {
  System.out.println("NoClassDefException");
  ex.printStackTrac


Ïà¹ØÎÊ´ð£º

java appletÔÚhtmlÖÐÎÞ·¨ÏÔʾ

ÎÒµÄjava applet ǶÈëhtmlºóÎÞ·¨ÏÔʾ£¬¶øÓÃappletviewerÏÔʾÕý³£ÎªÊ²Ã´£¬»¹ÓоÍÊÇÓÃhtml converterת»¯ºó¿ÉÒÔÏÔʾ£¬ÎªÊ²Ã´£¿Çë´óÏÀ´Í½Ì£¡
HTML code:

<HTML>
<HEAD>
<TITLE>TEST.HTML< ......

Ï£ÍûºÃÐÄÈË°ï°ïÎÒ£¬ÓйØÊÖ»úqq2009µÄjava°æ

ÎÒÏ£ÍûÔڱ༭ÎÄ×Öºó°Ñ·¢Ëͼü¸Äµ½ÆÁÄ»Öм䣬¾ßÌå˵¾ÍÊÇ
ÔÚkb.classÖеIJ¿·Ö×÷³öÐÞ¸Ä


²¿·Ö´úÂ룺
V = new TextBox(ld.a(383), "", 190, 0);
        X = new Comma ......

Çójspµç×ÓÉÌÎñÍøÕ¾Ô´Âë - Java / Web ¿ª·¢

Ïë×öÒ»¸öjspµÄµç×ÓÉÌÎñÍøÕ¾£¬ÏëÕÒһЩԴ´úÂ룬ÇëÎÊÄǸöÍøÕ¾ÓкõÄ×ÊÔ´¡£Ð»Ð»£¡
ËÑË÷Ï塃 ¿ªÔ´µÄÒ²ÓÐ

csdn¾ÍÓÐÏàËƵÄÔ´Â룬¥Ö÷ËÑÒ»ÏÂ

java ¿ªÔ´´óÈ«


¸ÄÄ£°åºÃÂ鷳Ŷ£¬»¹²»Èç×Ô¼ºÐ´¸öÁËÄØ

jf

¶¥Ò» ......

asp µ÷ÓÃjavaдµÄwebservice - Web ¿ª·¢ / ASP

ÔÚaspÀïÔõôµ÷ÓÃjavaдµÄwebservice·½·¨£¬Óкܶ෽·¨
- <message name="RtPnrIn">
  <part name="bstrPnrNO" type="s:string" /> 
  <part name ......

ÇóJava·ÖÒ³µÄ¿Ø¼þ»òÕß´úÂë - Java / Java EE

ÄÄλÀÏ´óÓбȽϺõķÖÒ³¿Ø¼þ»òÕß´úÂë!
  ÒªÇó ¿ÉÒÔÏÔʾ×ÜÒ³Êý.»ù±¾µÄÉÏÏ·­Ò³.
  Êý¾Ý¿âΪOracle
  ±íÊý¾ÝÁ¿ÓÐ300Íò×óÓÒ ËùÒÔÏÖÔÚÎҵķÖҳЧÂÊÌ«ÂýÁË.
  Ï£ÍûÀÏ´óÃÇÄÜÌṩ¸ü¿ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ