i am have just started with javaapplets. I have a doubt.I want my class file and html file(which makes use of the class file) to be in different drive on the same machine(or else on different machine). Now i want to run the applet which makes use of the class file(both being in different locations).I would be glad if somebody provides me the solution by hariharan
hi I think you use the codebase variable to hold the address of the server/folder i.e.the full path to the folder containing the applet. The code variable will hold the applet class name [code] <applet codebase="http//anotherserver.com/folder" code="yrapplet" widht=100 hright=100> </applet> [coe] No matter where your HTML is, it will get the applet called 'yrapplet' from the path specified in codebase hope this helps bye Tanveer
Author of JPhotoBrush Pro (www.jphotobrushpro.com)
Hariharan, Please be sure to register with a proper name. "iamharee" does not follow the conventions. See here for details: http://www.javaranch.com/name.jsp If you do not register properly, your account will be disabled. I would hate to see that happen. Thank you. Stephanie
Fire me boy! Cool, soothing, shameless self promotion:
Devious Experiments for a Truly Passive Greenhouse!