Installing and starting Jetty Application Server
Table of contents:
1. What is Jetty?
Jetty is a web container providing the following components:
- HTTP server
- HTTP client
- javax.servlet container
2. Installation
You can find and download Jetty directly from https://www.eclipse.org/jetty page.
Then, extract the zip file somewhere to your computer.
3. Starting Jetty
Let’s open command line at the installation directory, and run the following command to start Jetty on:
java -jar start.jar
Now, let’s open http://localhost:8080 on your browser.
Tips: You can change Jetty port by editing
jetty.port
property instart.ini
file.
4. Deploying Web Application
You simply put .war
files into webapps
folder.