23. Please tell us what are the advantages of JSP?

advantage:

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

Guess you like

Origin blog.csdn.net/zhu_fangyuan/article/details/108629694