Motivations
In the last two lectures we discussed a particular approach to authoring dynamic Web content: JSP standard actions together with JavaBeans.
We argued that this approach had important advantages over the scripting approach.
- Free use of Java scripting elements in the body of the HTML document is confusing.
At its best, the action-based approach cleanly separates the presentation aspects of the document from the computational logic.
However we also saw that the standard actions are fairly limited.
- They sometimes, for example, force one to generate fragments of dynamic HTML inside the Bean. This weakens the desired separation.