我正在 Mac 上使用 iWeb 构建一个网站(所有内容都是最新版本)
我正在使用 Html Snippet Widget 来嵌入 applet 标签。
由于 iWeb 似乎没有任何针对 Java 小程序的特定支持,因此我的计划是仅发布标签,然后发送所需的 Jar 文件。
但是我无法通过“应用” - 因为在我按应用后,iWeb 就会无限期地挂起。
这是标签...
我在控制台中看到一些关于 MalformedUrLException - 不支持的协议 iweb-widget 的有趣消息
有没有人有幸使用 iWeb 部署小程序?
任何指导将不胜感激,
谢谢,维克多
I am building a website using iWeb on my Mac (latest versions of everything)
I am using the Html Snippet Widget to embed the applet tag.
Since iWeb does not seem to have any specific support for Java applets, my plan was to just publish the tag and then send over the required Jar file afterward.
However I can't get past the "apply" - because after I press apply, iWeb just hangs indefinitely.
Here is the tag...
<applet code="myApplet.class" codebase="java/" width="1000" height="700" archive="myArchive.jar"
<parameter name="example" value="morestuff">
<parameter name="title" value="some text">
</applet>
I am seeing some interesting messages in the console about MalformedUrLException - unsupported protocol iweb-widget
Has anyone had any luck deploying applets using iWeb?
Any guidance would be greatly appreciated
Thanks, Victor
发布评论
评论(1)
我试图将我的(非常菜鸟)“处理”代码生成的小程序放入 MobileMe 上的 iWeb 站点中。
处理环境在
index.htm
文件中生成.jar
文件和一些小程序标记。在 iWeb 中,我从index.htm
文件复制了 applet 标记内容,并将其粘贴到 HTML Snippet 小部件中。问题是把
.jar
文件放在哪里。无论我在小程序标签中输入什么内容,将其放在 MobileMe 存储空间中的任何位置都不起作用,因此我将其放入保管箱(dropbox.com,免费)中,从保管箱复制了公共链接并替换了所有实例代码片段小部件的 html 中的“filename.jar”,其中包含指向我的保管箱中文件的公共链接。可能是一种适当的粗制滥造的方法,但它确实有效。
这是这里,如果有帮助的话......
I was trying to put applets generated from my (very noob) "Processing" code into an iWeb site on MobileMe.
The Processing environment produces the
.jar
file and some applet tag in anindex.htm
file. In iWeb, I copied the applet tag stuff from theindex.htm
file and pasted it into the HTML Snippet widget.The problem was where to put the
.jar
file. Putting it anywhere in the MobileMe storage space didn't work, no matter what I typed into the applet tag, so I dropped it into a dropbox (dropbox.com, free), copied the public link from the dropbox and replaced all instances of 'filename.jar' in the html in the snippet widget with the public link to the file in my dropbox.Probably a proper shoddy way to do it, but it works.
It's here, if it helps...