FAQ


Advertisement



What are advantages of using JSP?

There are plenty advantages of using JSP. In general, JSP allows developers to easily distribute application functionality to a wide range of page authors. These authors do not have to know the Java programming language or know anything about writing servlet code, so they can concentrate on writing their HTML code while you concentrate on creating your objects and application logic.

  • JSP pages easily combine static templates, including HTML or XML fragments, with code that generates dynamic content.
  • JSP pages are compiled dynamically into servlets when requested, so page authors can easily make updates to presentation code. JSP pages can also be precompiled if desired.
  • JSP tags for invoking JavaBeans components manage these components completely, shielding the page author from the complexity of application logic.
  • Developers can offer customized JSP tag libraries that page authors access using an XML-like syntax.
  • Web authors can change and edit the fixed template portions of pages without affecting the application logic. Similarly, developers can make logic changes at the component level without editing the individual pages that use the logic.


Printer-friendly version Printer-friendly version | Send this 
article to a friend Mail this to a friend

Previous Next vertical dots separating previous/next from contents/index/pdf Contents

  |   |