An applet can do connection only to host from are served the page where applet is inside. And, you must provide that classes for connection. See docs for <APPLET> tag about putting classes accessible for browsers. IMPORTANT: If you are developing for Java 2 plataform, you must use Java Plug-in - not the Applet tag, because Browsers don't know nothing about Java 2 things. Edson Richter ---------- From: Urivan Saaib Sent: terça-feira, 4 de janeiro de 2000 05:50 To: [EMAIL PROTECTED] Subject: JDBC & mSQL After figthing a while with the odbc driver for Linux and wasting lot of time configuring the windows machine, i decided to migrate the database to mSQL, but now that i got a functional code (access and reads the data), when i insert it into the applet, it doesn't work... Is there anything extra that i must do in the Applet code to make it run? Here is the code on both programs : String dB="some_database"; String url="some_domain"; Class.forName("com.imaginary.sql.msql.MsqlDriver"); Connection con=DriverManager.getConnection("jdbc:msql://"+url+"/"+dB); Statement stm=con.createStatement(); String sqlselect="Select * from foo where bar like '_string'"; resultSet=stm.executeQuery(sqlselect); The one that i use to send messages through System.out.println is the one that works... Any ideas or comment are welcome... Regards, _______________________________________________________ Urivan Saaib Email: [EMAIL PROTECTED] ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]