title: Creating a simple web page using Java without using Servlet and Tomcat
body: <p>I want to create a simple server application which runs on the desktop, and when I type my ip and port on the web browser, it connects to the server client which then opens a webpage with appropriate displays coded on the server application.</p>
  
  <p>I read online that I need to use servlet and Apache Tomcat to make a webpage using Java.</p>
  
  <p>I am wondering if there are any easier way to make a simple webpage which can contain buttons without using servlet and Apache Tomcat?</p>
  
  <p>For example, I can use sockets to communicate between server and client applications. Could I change this client into typing the ip address and port on the web browser which will display a webpage created and contained in the server application and remove the need for servlet and tomcat? If so, how do I create a button on the server application so that web browser can see the button when connecting to the server application?</p>
  
  <p>Thank you very much.</p>