There is no link between WebServerConnection.java and the codebase="../lib/"
in the demo html file. None whatsoever.

I wrote the .html tags when I did the packaging for 1.60 and tested
QueryTool successfully as an applet.

More recent JVM's complain about various security permissions which have
been resolved for hsqldb 1.7.0 RC2 (just released). I successfully tested
this same html page with 1.7.0 RC2 and with Java PlugIn 1.4.0.

Please check it out and tell us if it works / or not and with which browser,
JVM version.

Fred Toussi



----- Original Message -----
From: "Mark D. Anderson" <[EMAIL PROTECTED]>
To: "Hsqldb-Developers" <[EMAIL PROTECTED]>
Sent: 16 March 2002 05:38
Subject: [Hsqldb-developers] broken demo directory files


the html files in demo/ just can't possibly work, unless i'm missing
something.

for example, demo/memoryquery.html has:
<applet code="org.hsqldb.util.QueryTool" archive="hsqldb.jar" width="460"
height="400" codebase="../lib/">
<PARAM NAME="database" VALUE=".">
</APPLET

meanwhile WebServerConnection.java has:
      if (name.indexOf("..") != -1) {
                processError(FORBIDDEN);
              return;
            }

the documentation should make clearer whether to start with -root to be the
install
dir, or the demo subdirectory.
assuming the install dir is the docroot, and not demo, then one way to fix
memoryquery.html
is:
<applet code="org.hsqldb.util.QueryTool" archive="/lib/hsqldb.jar"
width="460" height="400" codebase="/classes/">
<PARAM NAME="database" VALUE=".">
</APPLET>

-mda



_______________________________________________
hsqldb-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hsqldb-developers


_______________________________________________
hsqldb-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hsqldb-developers

Reply via email to