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
- Custom tags and the JSP expression language deemphasize scripting
elements in favor of encapsulating code in other objects
- Trade-off: these objects must be created with custom Java code.
- Many prefer to use frameworks such as Struts or JavaServer Faces.