Hello World: Static Website


Hello World: Static Website


August 8, 2021

example java server

This example only contains a single HTML file:

index.html

<!DOCTYPE html>
<html>
  <head>
    <title>Server Hello World: Static Website</title>
  </head>
  <body>
    <h1>Happy Coding</h1>
    <p>Hello world!</p>
  </body>
</html>

You can view the directory here or download it as a zip file here.

You can copy this directory into a Tomcat or Jetty server.





Anatomy of a Web App Examples

Comments

Happy Coding is a community of folks just like you learning about coding.
Do you have a comment or question? Post it here!

Comments are powered by the Happy Coding forum. This page has a corresponding forum post, and replies to that post show up as comments here. Click the button above to go to the forum to post a comment!