|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.hsql.WebServer
WebServer acts as a HTTP server and is one way of using
the client / server mode of Hypersonic SQL. 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:
port=80
database=test
root=./
default=index.html
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
Constructor Summary | |
WebServer()
|
Method Summary | |
static void |
main(java.lang.String[] arg)
|
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public WebServer()
Method Detail |
public static void main(java.lang.String[] arg)
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |