I need to call a java applet from an MVC 3 application.
1. In the view, I put the applet tag:
<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. I placed the jar files in the Java/Applets
.
3. But the applet does not start when going to this view.
Please help me by reporting me an error.
source share