我遇到了與run applet in web application中所述完全相同的問題。它爲我的小應用程序拋出了一個ClassNotFoundException
。我從那裏嘗試瞭解決方案,但仍然沒有運氣。如何在web應用程序中運行小程序
這是我在HTML中嵌入applet代碼:
<body>
<applet codebase="/DaaS/applet" archive="/DaaS/applet/firstApplet.jar" code="FirstApplet.class" width="300" height ="300"> </applet>
我已經包含firstApplet.jar和我index.html
是Daas/Webcontent
一個文件夾DaaS/applet
。
'<小程序的基本代碼= 「的DaaS /小程序」 歸檔= 「firstApplet.jar」 \t代碼= 「FirstApplet.class」 WIDTH = 「300」 HEIGHT = 「300」> '嘗試,但仍然沒有運氣。 .. – Hasan 2012-02-03 15:53:18