Usually each table corresponds to the separate class level of the target objects. The tables of the whole class may not exceed 100000 bytes. It has to limit size of the deduced via WWW data.
java [<options>] Sav.Z.Table [<table_options>] <database> <table_file> [<key_colon_number> [<colon_number> ...]] Where: <table_options> = -a[nalyse] | -r[ead] Example: java Sav.Z.Table Ex/Basic/Common Ex/Basic/DS.tab or java Sav.Z.Table -r Ex/Basic/Common.ass Ex/Basic/DS.tab 1 2 3 4 5 6See and running createBase.bat in Ex/Basic example directory.
Configuration
All the following files are placed in <JSWDK> by coping from SavZServer/Web directory.
webserver.xml, JSWDK server's configuration.
... <WebServer id="webServer"> <Service id="service0"> ... <WebApplication id="zserver" mapping="/SavZServer" docBase="SavZServer"/> </Service> </WebServer>startserver.bat, Web server's start file.
... set appClassPath=..\SavZServer\Lib\SavZS.jar;.\classes;%appJars% ...servlets.properties, the servlet initialization parameters. File is located in <JSWDK>/SavZServer/WEB-INF. The dbName parameter sets name of Z database. The outLimit is byte limitation of data deduced from the database to the client.
zserver.code=Sav.Servlet.HTTPConnection zserver.initparams=dbName=Common.ass,outLimit=100000This files of <JSWDK>/SavZServer are used by the Web browser and may be adapted.
If you go to the <JSWDK>/SavZServer/Data directory, you will
look other files, Common.ass, page1.html and page2.html.
Its are data of the Ex/Advanced example that you need make for your
Web data server interface.
Common.ass Database, that defines the dialog.
*.html, *.gif, *.jpeg, *.txt, ... Web pages, database
references to.
Starting Web server
See and start startserver.bat (Win32) or startserver (Unix).
Running Web browser
We can open http://localhost:8080/SavZServer/ source page after starting of the Web server and test a dialog in a Web browser. The character set of the Web browser must be agree with the system default character set of the server.