CYBERWORLD
asked on
allow my Java applet to be called by any html
I have made a Java Applet and put it on my web server.
And I want people all over world are able to call this Applet. (ie: they can specifiy the code base in their html document which put in elsewhere and run my java applet)
What is the solution? I know they cannot use my URL as codebase since java has security restriction.
I also see the article below, but still don't know what is needed. How to setup the ion_10.zip ?
Or anyother solution?
Thanks
-------------------------- ---------- ---------- ---------- ---------- ---------- ------
<APPLET NAME="HELLO" CODE=com.rsi.ion.IONGraphi cApplet.cl ass
ARCHIVE="ion_10.zip"
CODEBASE="http://ion.fake.com/ion/classes/"
WIDTH=350 HEIGHT=80
ALT="ION Applet failed to load. Is Java enabled in your browser?">
Java virtual machine failed to start. Is Java enabled in your browser?
<PARAM NAME="SERVER_NAME" VALUE="ion.fake.com">
</APPLET>
And I want people all over world are able to call this Applet. (ie: they can specifiy the code base in their html document which put in elsewhere and run my java applet)
What is the solution? I know they cannot use my URL as codebase since java has security restriction.
I also see the article below, but still don't know what is needed. How to setup the ion_10.zip ?
Or anyother solution?
Thanks
--------------------------
<APPLET NAME="HELLO" CODE=com.rsi.ion.IONGraphi
ARCHIVE="ion_10.zip"
CODEBASE="http://ion.fake.com/ion/classes/"
WIDTH=350 HEIGHT=80
ALT="ION Applet failed to load. Is Java enabled in your browser?">
Java virtual machine failed to start. Is Java enabled in your browser?
<PARAM NAME="SERVER_NAME" VALUE="ion.fake.com">
</APPLET>
PS
Your applet may be used in HTML pages regardless of the different URLs.
ShalomC
Your applet may be used in HTML pages regardless of the different URLs.
ShalomC
ASKER
where is the /ion/classes folder??
I am not the server admin, am i able to do so?
if my applet don't use jar or zip, do i need to create these files?
could you tell me more? thanks!
I am not the server admin, am i able to do so?
if my applet don't use jar or zip, do i need to create these files?
could you tell me more? thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The codebase and code define together the URL of your applet.
The optional archive contains additional classes packed in a JAR file (or ZIP for that matter) that your applet uses.
If used, the archive must be accessible from the internet as well.
<APPLET NAME="HELLO" CODE="IONGraphicApplet.cla
ARCHIVE="ion_10.zip"
CODEBASE="http://ion.fake.com/ion/classes/"
WIDTH=350 HEIGHT=80
ALT="ION Applet failed to load. Is Java enabled in your browser?">
Java virtual machine failed to start. Is Java enabled in your browser?
<PARAM NAME="SERVER_NAME" VALUE="ion.fake.com">
</APPLET>
ShalomC