Main-program class: ix.iserve.IServe

Command-line arguments:


Tells I-Serve what port to listen on for the requests it serves. If no port is specified, I-Serve asks for OS for a free port, and the number will be included in "Help" -> "About I-X Server".


Specifies the root directory of a file tree that I-Serve will serve as "static content". (You can, of course, put new files there while I-Serve is running, but the content is in the files rather than generated when a request is received.) The URLs look like this:

where iserveHost and iservePort are replaced by the name of the machine that is running I-Serve and the port that I-Serve is using.


I-Serve is an I-X Process Panel (I-P2) that contains an HTTP server. The HTTP server can be used independently, in other agents. For that, see the documentation for the ix.util.http package. It is also used by some communication strategies.

Additional handlers:

add-servlet class-name (parameter ...) pathSpec

Constructs an instance of the specified servlet class by calling the most specific public constructor that is applicable to the specified parameters, and then adds that servlet to the HTTP server so that it will be invoked for requests that match the pathSpec.

Jeff Dalton <J.Dalton@ed.ac.uk>