connecting to remote database(MSSqlserver) using applet
I am having a problem that I have to insert the data in a table from the applet. since the applet run on the client machine and the database is on the remote machine now when java on client machine looks for the driver "com.microsoft.jdbc.sqlserver.SQLServerDriver"
then it gives this exception:
class com.microsoft.jdbc.sqlserver.SQLServerDriver not fo开发者_C百科und.
How should I set the classpath of the jar file mssqlserver.jar so that the applet can connect to the remote database?
See these: http://www.cs.umbc.edu/portal/help/oracle8/java.815/a64685/samapp5.htm
精彩评论