6
JavaServer Pages TM Introduce by 8942032 8942007 8942018

JavaServer Pages TM

Embed Size (px)

DESCRIPTION

JavaServer Pages TM. Introduce by 8942032 8942007 8942018. Introduction. What can JSP provides? - PowerPoint PPT Presentation

Citation preview

Page 1: JavaServer Pages TM

JavaServer PagesTM

Introduce by 8942032 8942007 8942018

Page 2: JavaServer Pages TM

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.

Page 3: JavaServer Pages TM

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.

Page 4: JavaServer Pages TM

Creating JSP Pages

Components of JSP page. JSP actions (or JSP tags) Directives Declarations Expressions Scriptlets Comments

Page 5: JavaServer Pages TM

Custom Tags

Provide further separation of responsibilities between developers and page authors

Components Tag library descriptor Tag handler

Page 6: JavaServer Pages TM

The End.