Possible Duplicate:
Can anyone recommend a simple Java web-app framework?
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.
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.
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.
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/".
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.
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.
Thanks