Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

nomar383

macrumors 65816
Original poster
Jan 29, 2008
1,310
0
Rexburg, ID
Okay I give up, googling is getting me nowhere.

How would I embed a .jar file into my website? I am pretty sure it's possible and I'd like to do it in iWeb :)
 
I am pretty sure MobileMe does not support java.

If you're publishing that way, you need to serve the applet externally on your own web server where you've got it running and working just fine. In iWeb 08 add an HTML snippet via inspector and code it accordingly (example):

Code:
<APPLET CODEBASE="http://youripaddress:8080" ARCHIVE="your.jar" CODE="your.class" WIDTH=640 HEIGHT=480> 
<PARAM NAME="x" VALUE="y"> 
</APPLET>
Meaning, use your own IP and port, your own archive including any optional path although best if you leave it at the document root, the class name, dimensions and any parameters your applet requires.

This advice is based on Google research, untested.

-jim
 
I am pretty sure MobileMe does not support java.

If you're publishing that way, you need to serve the applet externally on your own web server where you've got it running and working just fine. In iWeb 08 add an HTML snippet via inspector and code it accordingly (example):

Code:
<APPLET CODEBASE="http://youripaddress:8080" ARCHIVE="your.jar" CODE="your.class" WIDTH=640 HEIGHT=480> 
<PARAM NAME="x" VALUE="y"> 
</APPLET>
Meaning, use your own IP and port, your own archive including any optional path although best if you leave it at the document root, the class name, dimensions and any parameters your applet requires.

This advice is based on Google research, untested.

-jim

Makes sense, but do I need a class file?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.