advantage:
- JSP pages are dynamically compiled into servlets, so developers can easily update the display code.
- JSP pages can be precompiled.
- JSP pages can be easily combined with static templates, including HTML or XML, and can also be easily combined with dynamic code generation.
- Developers can provide custom JSP tag libraries for page designers to access in an XML-like format.
- Developers can make logical changes at the component level, without editing pages that use application-level logic alone.