One of the most powerful uses of scripting languages is in "application automation", that is, the idea of automating a long sequence of steps such as: "select paragraph at cursor, indent 3" right, ...
JavaServer Pages (JSP) is a more flexible technology than servlets because it can respond to dynamic changes at runtime. Can you imagine a common Java class that has this dynamic capability too? It ...