Mayur Agrawal

Greenhorn
+ Follow
since Dec 20, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mayur Agrawal

I loaded java propery object reading a server side properties file.here is the code.
/*
appletCommands = new Hashtable();
AppletController controller = (AppletController) AppletReferences.getApplet(AppletConstants.APPLET_CONTROLLER);
String path = controller.getCodeBase().toString();
path = path + "appletCommands.properties";
URL url = new URL(path);
Properties prop = new Properties();
prop.load(url.openConnection().getInputStream());

*/
22 years ago
I am sorry for mistake ,here is the code...
I was looking for some solution to a problem, when i came upon this page.
My problem was that I needed to call JApplet method through javascript function.
I was already using a plug-in, so I was tipped on by your discussion and my following $$OBJECT## tag worked...
PLEASE REPLACE ALL THE FOLLOWING $$ WITH < AND ALL THE ## WITH >
$$OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
WIDTH = 200 HEIGHT = 200 name = view codebase="http://java.sun.com/products/plugin/1.1.1/jinstall-111-win32.cab#Version=1,1,1,0"##
$$PARAM NAME = CODE VALUE = JTestApplet.class ##

$$PARAM NAME="scriptable" VALUE="true"##
$$COMMENT##
$$EMBED type="application/x-java-applet;version=1.1" java_CODE = TestApplet.class NAME = view WIDTH = 200 HEIGHT = 200 pluginspage="http://java.sun.com/products/plugin/1.1.1/plugin-install.html"##$$NOEMBED##$$/COMMENT##
$$/NOEMBED##$$/EMBED##
OBJECT##

here i think Object tag is for IE and Embed tag for netscape.I dont know about netscape but some similar solution should work.
Thanks
Mayur

[This message has been edited by Mayur Agrawal (edited December 20, 2001).]
22 years ago
a
[This message has been edited by Mayur Agrawal (edited December 20, 2001).]
22 years ago
a
[This message has been edited by Mayur Agrawal (edited December 20, 2001).]
22 years ago