By default, the Java VncViewer applet can relogin if
the connection to the VNC server terminates. When the
connection terminates, a "Login again" button is
displayed to the user. When pressed, this button will
reload the page hosting the Java applet.
If the page hosting the Java applet has query args
query args are dropped from the reload request (i.e.,
http://foo.com/applet.jsp\). This can cause problems
when the page requires the query args.
objects to get the full URL including query args. If
this fails, it reverts to the original behavior to get
the document base through the applet object.
Also included is a simple Makefile change to determine
the location of plugin.jar in the JDK/JRE. This JAR
file defines the JSObject class used in the patch.
This patch is against the released version of 1.3.8 (I
couldn't find the trunk in Subversion).