If the SIRtext.jar is located in the same directory as its html page the complete code for the start of the applet tag would be:
Code:
<applet code="SIRtext.class" codebase="." width=200 height=200 archive="SIRtext.jar">
The codebase attribute is only required if your applet is not in the same directory as its html file.
If you use IE, you can click:
Tools - Sun Java Console
and see the error messages generated by the browser. In this case it just delivers a more elaborate message saying that it can't find the class file.
Note: if the class file in the jar is compiled with a package directive the tag would be:
Code:
<applet code="packagename.SIRtext.class" codebase="." width=200 height=200 archive="SIRtext.jar">
Good luck !
Bookmarks