I'm looking for a Java web framework that requires the most minimal amount of configuration for a very small app. Spring & Struts are definitely overkill here. This is an app that could be written without any framework at all but I would prefer to use a minimal MVC framework if I can find one.
The most minimal way to do a Java web app would be to use JSPs to display your content and Just plain Java in the back end.
This would require almost no configuration.
The only requirements for that is the J2SE and Tomcat for hosting.
grails requires a minimal amount of config since most of it has sane defaults.
The lightest Java framework would be servlet + JSP. Try to use the latest released standards - Servlet 2.5 and JSP 2.1. Tomcat provides all you need:
- servlet container;
- JSPs (optional);
- Java runtime;
- web server to serve HTMLs.
I'd say that spring webmvc is pretty minimalistic and IMHO it's far from overkill. You don't have to include the whole spring Framework to do your things. To start a webmvc webapp you need ~3-4 jars IIRC. Don't underestimate the advantages of DI in regard of internal structure and testability.
I'd go for Spring WebMVC + JSP maybe combined with sitemesh. Later when you realize that you have more complicated stuff to do you could add Spring-Webflow and so on.