![]() In other words, running the command-line tool will create and start an out-of-the-box HTTP file server. ![]() The goal of JEP 408 was to provide a simple command-line tool to launch a minimal web server to serve static files. The motive was to use it for prototyping and to launch a simple web server to serve files quickly. Java 18 Simple Web Server command-line tool In this post, we will learn about the Java 18 simple web server (command-line tool) released as part of JDK 18. One of the features it had was to start a simple web server via the command line to serve static files. Java 18 made its general availability on March 22nd 2022 (a non-LTS version). Other options available when running the web server.Stopping the web server from command line.Accessing the web server and resource contents.Starting Java Simple Web Server from the command line.Java 18 Simple Web Server command-line tool.
0 Comments
Leave a Reply. |