我需要从 MVC 3 应用程序调用一个 java 小程序。
1.在视图中,我放置小程序标签:
<form action="/Home/FileStorage" method="post" enctype="multipart/form-data">
<applet code = "applet.AppletDemo.class"
archive = "@Url.Content("~/Java/Applets/applet.jar")" + "," + "@Url.Content("~/Java/Applets/commons-codec-1.4.jar")" +","+
"@Url.Content("~/Java/Applets/commons-io-1.4.jar")" +","+ "@Url.Content("~/Java/Applets/commons-logging-1.1.1.jar")" +","+ "@Url.Content("~/Java/Applets/commons-httpclient-3.1.jar")"
width = "700" height = "500">
<param name="tenantID" value="1"/>
<param name="userID" value="1"/>
<param name="siteID" value="1"/>
</applet>
</form>
2.我已经把jar文件放在了文件夹里Java/Applets
。
3.但是小程序没有被触发去那个视图。
请通过让我知道错误来帮助我。