Lets say I want to write an applet that displays the url of the server the applets is stored on. Is that possible and what is the function for knowing it?
I was thinking something like
...
Type: Posts; User: micro kid
Lets say I want to write an applet that displays the url of the server the applets is stored on. Is that possible and what is the function for knowing it?
I was thinking something like
...
I forgot to say that I think have nave narrowed it down to the driver not working when I run the applet which is a mystery to me because the driver works fine for the console program.
So if the web and mySQL-server is the same computer it should work then?
I understand the potential hazzard of letting people access a database from the internet but what if the user "user"...
In the console program I can connect to the database but not in the applet. I test it on the same computer I program on so I have the CLASSPATH set up, I dont even run a web server (yet), a.b.c.d is...
hello I got this code working fine
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
public class connect
{