60 likes | 82 Views
Learn how JavaServer Pages simplifies web app development. Discover advantages such as flexible code and custom tags. Dive into creating JSP pages, custom tags, and components for efficient web design. Start coding dynamic web content today!
E N D
JavaServer PagesTM Introduce by 8942032 8942007 8942018
Introduction • What can JSP provides? • easy way to create dynamic web pages. • simplify the task of building web apps. • What exactly is JSP ? • a JSP page is simply an HTML web page that contains additional bits of code that execute application logic to generate dynamic content.
Introduction (con’t) • What are the Advantages of JSP? • The separation of interface and logic • Flexible code that can easily be updated and reused. • JSP tags for invoking JavaBeans components manage these components completely • 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.
Creating JSP Pages • Components of JSP page. • JSP actions (or JSP tags) • Directives • Declarations • Expressions • Scriptlets • Comments
Custom Tags • Provide further separation of responsibilities between developers and page authors • Components • Tag library descriptor • Tag handler