Java is an excellent language, it has a elegant syntax, but... it's not made for web development.
JSP/Servlets development is a joke.
- Play Framework http://www.playframework.org
- Jersey http://codahale.com/what-makes-jersey-interesting-parameter-...
- GWT https://developers.google.com/web-toolkit/ or
- Grails http://grails.org/products/ggts
for example?
Not saying any of these are perfect, but it's been 5+ years since anyone had to use JSP/Servlets/Struts.
edit: formatting
http://arantaday.com/the-modern-java-ecosystem
And a bunch of comments here:
Source: I worked at a Web startup circa 2000 where we did exactly that. I think people sometimes forget how far we've come.