wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes deploying applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
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: 42634
    
  65
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?


Ping & DNS - my free Android networking tools app
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: 42634
    
  65
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