org.hsqldb
Class WebServer
java.lang.Object
org.hsqldb.Server
org.hsqldb.WebServer
- public class WebServer
- extends Server
WebServer acts as an HTTP server and is one way of
using the client / server mode of HSQL Database Engine. This server can
deliver static files and can also process database queries. An applet
will need only the JDBC classes to access the database. The WebServer
can be configured with the file 'webserver.properties'. This is an
example of the file:
server.port=80
server.database=test
server.root=./
server.default_page=index.html
server.silent=true
.htm=text/html
.html=text/html
.txt=text/plain
.gif=image/gif
.class=application/octet-stream
.jpg=image/jpeg
.jgep=image/jpeg
.zip=application/x-zip-compressed
Root: use / as separator even for DOS/Windows, it will be replaced
Mime-types: file ending must be lowercase
Method Summary |
static void |
main(java.lang.String[] arg)
Method declaration |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebServer
public WebServer()
main
public static void main(java.lang.String[] arg)
- Method declaration
- Parameters:
arg
-
Copyright © 2001 - 2002 HSQL Development Group. All Rights Reserved.