This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes deploying applet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "deploying applet" Watch "deploying applet" New topic
Author

deploying applet

shalini gnana
Ranch Hand

Joined: Sep 18, 2007
Posts: 189
I'm using netbeans for developing my japplet...I can able to run and built my file(just one file in my project)..But when i run my applet its saying that main class not found...I want to deploy my applet...Help me...
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35443
    
    9
Netbeans is really meant for deploying applets, it's mostly for development. You would deploy the applet by copying the HTML file containing the applet tag along with the jar (or class) files to a directory on a web server (or servlet container). What does this directory on the server look like, meaning what files does it contain, and what is the applet tag you're using?


Android appsImageJ pluginsJava web charts
shalini gnana
Ranch Hand

Joined: Sep 18, 2007
Posts: 189
I couldn't able to run my japplet outside the netbeans...But it runs well in IDE
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35443
    
    9
I see. Well, that's an important step to go through when learning about applets, so you should set up an HTML file containing an applet tag that can run your applet in a browser, outside of any IDE. Here is a detailed description of what an applet tag looks like. It could be as simple as what's described in the section "Using the APPLET Tag". If NetBeans created a jar file containing all the classes you will also need an archive attribute in the applet tag, as described in the section "Combining an Applet's Files into a Single File".
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: deploying applet
 
Similar Threads
Class Not Found Error
deepti_1978
Can applets run on WAMP server?
Applet Access premissions and policy file!
remote applet