Books and the Internet have many examples of how to use servlets as JSPs. But I would like to know what is the best way to use them, with reasonable architecture.
Should there be a one-to-one relationship between Servlets and JSPs? Perform as ASP.NET Code Behind Pages?
Or is it more like ASP.NET MVC, with one servlet managing multiple actions and forwarding to several views?
This is a question about clean Java EE development. Please do not just offer a different infrastructure.
source
share