aspose file tools*
The moose likes Applets and the fly likes applet connect Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "applet connect" Watch "applet connect" New topic
Author

applet connect

sriram vaidyanathan
Greenhorn

Joined: Nov 21, 2008
Posts: 1
Hi,
I am new to java. I have created an applet that access an sql database through ODBC and retivies data and write back some.I am using netbeans.I able to run properly inside netbeans.If I try to give a applet tag and run it on browser it doesnot want should i do. Can anybody help me.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41509
    
  53
Welcome to JavaRanch.

What does "it does not run" mean? Are the any error messages in the Java Console? If so, post them with their complete stack trace. Also post the complete applet tag you have in your HTML page.

Are you aware that applets can't use desktop resources (like an ODBC connection) without being expressly allowed to do so? See HowCanAnAppletReadFilesOnTheLocalFileSystem for more details.

Also, why are you making this an applet (as opposed to an application)? Since the ODBC connection needs to be set up on the desktop, the applet will only work on your machine anyway (unless the other users set up those connections on their machines, too).
[ November 21, 2008: Message edited by: Ulf Dittmer ]

Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: applet connect