The survey project is available on the CD that accompanies this book. Copy the project directory from the CD to your hard disk. Start the Web server with the survey command . Next, open a browser and type the survey URL:
If everything works well, the result should look like Figure 2.3. Figure 2.3. Taking your first survey.
For your convenience, the project ships with its own Web server. It uses Jetty , an open-source Web server available from http://www.mortbay.com . Jetty is a very good Web server, but it is not as user -friendly as commercial offerings. For example, to terminate the server, you must kill the process (under Windows, Ctrl+C it). However, Survex is a regular servlet, so you should be able to use it with any servlet-enabled Web server. Tip Using JRun, you can add servlet support to all the popular Web servers (including Apache, Netscape, and IIS). JRun is available from http://www.jrun.com. Caution You need a SAX 2.0 “compliant XML parser to run this project. The project on the enclosed CD uses Xerces , which is available on the CD, or you can download the latest version from http://xml.apache.org. If you switch to another parser, you will need to update PARSER_NAME in Survex. |