Hello Guys, I have developed some basic application in java (Applet) with MSAccess database. Now I want to upload that Applet application on Internet just like website. How to do this..? Thanks, shaun.php1208@gmail.com
You package your application in jar files, eg. myapp1.jar, myapp2.jar. You upload jar files to your host. In web page that is same location of jar files, use following tags: <applet archive='myapp1.jar, myapp2.jar' code='myapp.LoaderClass' width=220 height=100> <param name='param1' value='hello world!'> </applet> Code (markup):
Thanks for replying. But still I didn't get how to do that..could you explain? Actually I have developed that application in notepad and save as application.java
Create jar file Copy all files (*.class, *.gif, ...) you want to package into to one folder, eg. MyApp. In Command Line, change current directory to MyApp. Execute following line: jar cvf MyApp.jar * Code (markup): Copy MyApp.jar to your web server In the web page which is same folder of MyApp.jar, add following code: <applet archive='MyApp.jar' code='Loader' width=220 height=100> </applet> Code (markup): 'Loader' is class containing main() method.