First, is your Test.class an applet or a servlet? An appliet runs in a browser's virtual machine. A servlet runs in the backend Java-enalbed web server such as Tomcat4.1.To "publish" your code as an applet, place a link to it in a webpage. If it is a servlet, you need to "deploy" it into Tomcat.For applet, see http://java.sun.com/docs/books/tutorial/applet/TOC.html#appletsonlyFor servlet, see your Tomcat's documentation.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货