Convert the HTML for the Plug-in
A Java 2 applet that is to displayed through the Java Plug-in actually needs a more complicated HTML tag. Sun provide a converter to add the extra HTML.
The converter is a Java program. On sirah you can use the script htmlconv installed in /usr/local/jdk1.2.2/bin/. It is a one-line script—if you prefer, check the definition of the script file, and invoke the java program directly.
Otherwise, if you are happy to use the script, do:
htmlconv filedisplay.html –backup BAK
- This saves the original files in a subdirectory BAK/, then overwrites them.
- If you don’t specify the -backup option, the original files get saved in a subdirectory of “./..”. This is a poor default—if you don’t have write-permission in this parent directory, the command will fail.