Why Custom Tags?
Custom tags provide the same functionality as scripting elements, but they
are harder to build.
So why use them?
- They cleanly separate logic from content
- Scriptlets directly embed code with chunks of static markup
- Custom tags abstract code behind markup that resembles HTML
- Custom tags move all logic into separate Java classes that are
bound to simple tags
- Ease of use: both programmers and non-programmers can use them
- Portability: can be packaged into a JAR and deployed in many web
apps
Why not use them?
- They require Java sophistication of tag developers