William Brogden wrote:Sorry guys you are just regurgitating doctrine, not thinking clearly.
Sorry, but I'm not. Far from it. This comes from over 10 years experience in developing web applications. Trying to maintain HTML code that's been built up in Java strings in a servlet is nothing short of a nightmare -- especially if, as in most modern web applications, a good deal of JavaScript is involved.
There is nothing to be gained by involving extra steps involved in JSP.
We'll just have to disagree. I think a JSP is the right tool for the job for all but the most trivial cases (trivial meaning single-line responses).