applet-html.patch revision 1124
===================================================================
--- java/src/com/tigervnc/vncviewer/Makefile (revision 3916)
+++ java/src/com/tigervnc/vncviewer/Makefile (working copy)
@@ -8,7 +8,7 @@
JAR = jar
ARCHIVE = VncViewer.jar
MANIFEST = MANIFEST.MF
-PAGES = index.vnc
+PAGES = index.vnc index.html
INSTALL_DIR = /usr/local/vnc/classes
===================================================================
--- java/src/com/tigervnc/vncviewer/index.vnc (revision 3916)
+++ java/src/com/tigervnc/vncviewer/index.vnc (working copy)
@@ -1,3 +1,4 @@
+<HTML><HEAD>
<!--
index.vnc - default HTML page for TigerVNC Java viewer applet, to be
used with Xvnc. On any file ending in .vnc, the HTTP server embedded in
@@ -6,20 +7,20 @@
PARAMS. Use two dollar signs ($$) to get a dollar sign in the generated
HTML page.
- NOTE: the $PARAMS variable is not supported by the standard VNC, so
+ NOTE: the PARAMS variable is not supported by the standard VNC, so
make sure you have TigerVNC on the server side, if you're using this
variable.
-->
-
-<HTML>
<TITLE>
$USER's $DESKTOP desktop ($DISPLAY)
</TITLE>
-<APPLET CODE=com.tigervnc.vncviewer.VncViewer ARCHIVE=VncViewer.jar
- WIDTH=$APPLETWIDTH HEIGHT=$APPLETHEIGHT>
-<param name=PORT value=$PORT>
+</HEAD><BODY>
+<APPLET CODE="com.tigervnc.vncviewer.VncViewer" ARCHIVE="VncViewer.jar"
+ WIDTH="$APPLETWIDTH" HEIGHT="$APPLETHEIGHT">
+<param name="PORT" value="$PORT">
$PARAMS
</APPLET>
<BR>
<A href="http://www.tigervnc.org/">TigerVNC site</A>
+</BODY>
</HTML>
===================================================================
--- java/src/com/tigervnc/vncviewer/index.html (revision 3916)
+++ java/src/com/tigervnc/vncviewer/index.html (working copy)
@@ -1,3 +1,4 @@
+<HTML><HEAD>
<!--
index.html - an example HTML page for TigerVNC Java viewer applet, to be
used with a standalone Web server running on the same machine where the
@@ -15,15 +16,15 @@
actual desktop size on the server (height should be increased to leave
enough space for the button panel).
-->
-
-<HTML>
<TITLE>
TigerVNC desktop
</TITLE>
+</HEAD><BODY>
<APPLET CODE="com.tigervnc.vncviewer.VncViewer" ARCHIVE="VncViewer.jar"
WIDTH="800" HEIGHT="632">
<PARAM NAME="PORT" VALUE="5901">
</APPLET>
<BR>
<A href="http://www.tigervnc.org/">TigerVNC site</A>
+</BODY>
</HTML>