Deploying a .jar into a html page
问题 So I have the following code in Java which deploys an applet into a html page. Due to security problems I'm trying to make it a .jar and then sign that .jar to see first how that will work. Unfortunately I'm not really sure what I should change in order to run it as a .jar , given that the main class in the .jar is the same: p.println(document+"<applet name=\"myApp\" codebase="+codebase+" code="+code+ " width='+(scnWid-30)+' height='+(scnHei-45)+'>');"); p.println(document+"<param name=user