title: Simple Java web framework
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/116978/can-anyone-recommend-a-simple-java-web-app-framework">Can anyone recommend a simple Java web-app framework?</a>  </p>
  </blockquote>
  
  
  
  <p>I want to know about web development with Java. It is very easy to work with PHP and Apache, but I need to use Java.</p>
  
  <p>I have searched for Java web frameworks, but many of them are complex and difficult to configure. I need something as simple as PHP with Apache.</p>
  
  <p>Tomcat and Jetty do not use the port 80, I have to keep a process to redirect connections to another port, and a transfer from a port to another port is inefficient. However, Apache uses port 80 naturally.</p>
  
  <p>There are frameworks that use a complex directory structure with many configuration folders and files. Some of them use the concept of application for each folder. With Apache, it is very simple, because each page is a file in "/var/www/".</p>
  
  <p>I do not know anything about servlet, JSP, JSF or Java Enterprise Edition. I prefer something that mix static HTML and dynamically-generated HTML in the same file, but if I have to call a Java function many times to output HTML string, it's ok.</p>
  
  <p>I want to know a simple Java Web Framework. Something to listen the port 80, interpret the HTTP protocol and show the HTML that is generated by the Java code. The OS is Linux (Ubuntu) and I do not use IDE.</p>
  
  <p>Thanks</p>