Command Line Application
The javaxt-server library is compiled with a main class so you can use it as a simple, standalone web server to serve static files (e.g. html, css, images, etc).
To start the server simply run the following command:
java -jar javaxt-server.jar -dir /path/to/website
Command line argumentsThe command line interface supports the following options:
If no command line arguments are provided, the server will start on ports 80 and 443 and will not serve any files. Instead, the server will respond to HTTP requests by simply echoing the HTTP request headers. This basic response can be used to benchmark performance.