java - Applet html embedding and I can't seem to locate the .class from my git repo -


i trying embed java applet webpage. unfortunately, can't put .class file straight server so, going read .class file git repository , pointing archive attribute in html code.

this html code:

<html> <body> <applet code="dodgemapplet.class" width="640" height="480" archive="https://github.com/smithg017/repo.git"> </applet> </body> </html> 

i still pretty new html can show me right way should going java applet embedded website? thanks!

well, there hidden property didn't know , after digging found property codebase. put this:

codebase="https://github.com/smithg017/repo/blob/master/" 

right after

code = "dodgemapplet.class" 

code name. default in same directory html file. in case, in desktop folder. if class file elsewhere, reference folder class file in under codebase property.


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -