Releases: jfullstackdev/lightweight-web-server
Unit Tests Added
just added the unit tests,
Web Server Major Refactor
just a major refactor
xdvrx1 Web Server v3
File Server Manual
How To
Remember that the index.html
is the default web page. This zip file contains that together with
the executable jar file.
Steps:
-
Extract this zip file.
-
Run the jar file. In Windows
cmd
that is:
java -jar file-web-server-v1.jar
. Make sure you are at the correct
directory and java is enabled in the command prompt. -
Open a browser.
-
Type in the address bar
localhost
. -
See the default web page!
-
Other sample data can be accessed by typing directly
at the address bar or by clicking the provided links. -
For POST method, you click
form1.htm
. Post some details
into the form then click submit. The server will only return the data
you sent. This is to demonstrate how POST method works.
file-web-server-v1
File Server Manual
How To
Remember that the index.html
is the default web page. This zip file contains that together with
the executable jar file.
Steps:
-
Extract this zip file.
-
Run the jar file. In Windows
cmd
that is:
java -jar file-web-server-v1.jar
. Make sure you are at the correct
directory and java is enabled in the command prompt. -
Open a browser.
-
Type in the address bar
localhost
. -
See the default web page!
-
Other sample data can be accessed by typing directly
at the address bar or by clicking the provided links.