SocketPermission
Hi,
I have created JApplet to create connection with MySQL Database by using correct JDBC Driver, but the problem is that whenever I run my JApplet it will display such an error
"Unable to connect to any hosts due to exception: java.security.AccessCont********************ception: access denied (java.net.SocketPermission 192.168.0.153:3306 connect,resolve)"
Thou, such an application is running very good by JSP/Servlets with same JDBC Driver.
One more thing is that MYSQL Database is running over IP:192.168.0.153 and PORT:3306.
Please let me know the solution of it.
Looking forward to your early response.
|