Risks: JSP Maintainability
- Scriptlets and declarations hurt JSP maintainability
- JSP is maintainable if it is primarily markup
- With JSP 2.0, some think scriptlets and declarations are not needed at
all
- JSP book authors endorse this view
- Custom actions and the JSP expression language deemphasize scripting
elements in favor of encapsulating code in other objects
- Trade-off: Custom actions are relatively heavyweight compared to
embedded scripts, so scripting elements still have a place in JSP