1) java -jar javatest.jar -startHttp
2) curl 127.0.0.1:1903/
(or open in browser)
Root page index.html and / are not found (version gives version)
Response (btw, rendering as text/plain instead of text/html):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<Head>
<Title>JavaTest Harness Webserver Root Page</Title>
</Head>
<Body>
<h2>JavaTest Harness™ Webserver Root Page</h2>
(NOTE: Invalid URL requests will produce this page)
<br>
<h3>Available Web Pages</h3>
<ul>
<li><a href="version">Version information handler</a>
<li><a href="index.html">JavaTest Harness Web Server Root</a>
<li><a href="/">JavaTest Harness Web Server Root</a>
</ul>
<hr>
Thursday, August 14, 2014 2:01:52 PM UTC
<Address>
Produced by JavaTest Harness 4.6
built on August 1, 2014
</Address>
</Body>
</html>
(please see screenshot attached)
2) curl 127.0.0.1:1903/
(or open in browser)
Root page index.html and / are not found (version gives version)
Response (btw, rendering as text/plain instead of text/html):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<Head>
<Title>JavaTest Harness Webserver Root Page</Title>
</Head>
<Body>
<h2>JavaTest Harness™ Webserver Root Page</h2>
(NOTE: Invalid URL requests will produce this page)
<br>
<h3>Available Web Pages</h3>
<ul>
<li><a href="version">Version information handler</a>
<li><a href="index.html">JavaTest Harness Web Server Root</a>
<li><a href="/">JavaTest Harness Web Server Root</a>
</ul>
<hr>
Thursday, August 14, 2014 2:01:52 PM UTC
<Address>
Produced by JavaTest Harness 4.6
built on August 1, 2014
</Address>
</Body>
</html>
(please see screenshot attached)