Summary

 < Free Open Study > 



In this chapter we had a brief introduction and overview of JSP pages. We looked at the main features of JSP, including:

  • The advantages of using JSP pages over servlets for presentation

  • How JSP pages can be used to write both dynamic and static data back to the browser

  • The use of JSP scriptlets and declarations for performing computations within JSP pages

  • The use of JSP directives to convey messages to the JSP container, to assist it in the process of generating the page implementation servlet

  • JSP actions such as include, forward, and param

  • The use of JavaBeans with JSP pages

We concluded the chapter with an application that showed how JSP pages and servlets can be used together, each performing the roles they are best suited to.

We've taken a very quick look at JSP in this chapter. You can find out more about what JSP has to offer, and it can be used in your web applications in Professional JSP 2nd Edition (ISBN: 1-861004-95-8).

In the next chapter we'll turn our attention to studying the issues surrounding the security of our servlets as well as container authentication.

_

_JSP pageservice() method

  • JSP implicit objects, 6

  • JSP page implementation, 3

  • JSP scriptlets element, 5

<

<% %> delimiters

  • JSP scripting element, 5

A

actions, JSP, 11

  • jsp:forward action, 12

  • jsp:include action, 11

  • jsp:param action, 12

  • taglib directive, 11

application implicit object

  • implicit objects, JSP, 6

application scope

  • implicit objects, JSP, 6

architectures

  • system, using JSP and servlets together, 22

attributes

  • page directive, table of, 10

B

BodyTag interface, javax.servlet.jsp.tagtext

  • tag libraries, JSP, 21

C

config implicit object

  • implicit objects, JSP, 8

custom actions

  • tag libraries, JSP, 21

D

data transfer object, choosing

  • JSP and servlets, using together, 23

database items

  • adding using JSP and servlets together, 32

  • deleting, using JSP and servlets together, 26

  • editing using JSP and servlets together, 28

  • listing, using JSP and servlets together, 24

  • updating using JSP and servlets together, 31

databases

  • creation, using JSP and servlets together, 22

declarations

  • scripting element, JSP, 5

deployment descriptor

  • JSP and servlets, using together, 35

directives, JSP, 9

  • include directive, 11

  • page directive, 9

    • attributes, table of, 10

  • taglib directive, 9, 11

E

exception implicit object

  • implicit objects, JSP, 8

execution phase

  • JSP deployed in web container, 2

expressions

  • scripting element, JSP, 6

F

forward action, jsp:

  • actions, JSP, 12

G

getProperty action, jsp:

  • JavaBeans, using with JSP, 19

H

HttpJspBase class

  • Tomcat, 3

HttpJspPage class, javax.servlet.jsp

  • JSP page implementation, 3

I

implicit objects, JSP, 6

  • application implicit object, 6

  • application scope, 6

  • config implicit object, 8

  • exception implicit object, 8

  • out implicit object, 6

  • Page implicit object, 8

  • page scope, 6

  • pageContext implicit object, 6

  • request implicit objects, 6

  • request scope, 6

  • response implicit object, 6

  • scopes, table of, 6

  • session implicit object, 6

  • session scope, 6

  • table of implicit objects, 6

include action, jsp:

  • actions, JSP, 11

include directive

  • directives, JSP, 11

  • loan calculator, JSP, 12

IterationTag interface, javax.servlet.jsp.tagtext

  • tag libraries, JSP, 21

J

JavaBeans, using with JSP, 18

  • jsp:getProperty action, 19

  • jsp:plugin action, 20

  • jsp:setProperty action, 20

  • jsp:useBean action, 18

  • tag libraries, 21

JavaServer Pages see JSP.

JSP (JavaServer Pages), 1-39

  • actions, 11

    • jsp:forward action, 12

    • jsp:include action, 11

    • jsp:param action, 12

  • conversion to servlets, 2

  • directives, 9

    • include directive, 11

    • page directive, 9

  • fundamentals, 2

  • implicit objects, 6

  • JavaBeans, using with JSP, 18

  • JSP container, 2

  • loan calculator, 12

  • scripting elements, 5

    • declarations, 5

    • expressions, 5

    • scriptlets, 5

  • servlets and JSP together, 21

JSP and servlets, using together

  • adding new items, 32

  • data transfer object, choosing, 23

  • database creation, 22

  • deleting items, 26

  • deployment descriptor, 35

  • editing items, 28

  • listing items, 24

  • running application, 35

  • system architecture, 22

  • updating items, 31

JSP page implementation class

  • JSP deployed in web container, 2

jsp:forward action

  • actions, JSP, 12

jsp:getProperty action

  • JavaBeans, using with JSP, 19

jsp:include action

  • actions, JSP, 11

  • loan calculator, JSP, 12

jsp:param action

  • actions, JSP, 12

jsp:plugin action

  • JavaBeans, using with JSP, 20

jsp:setProperty action

  • JavaBeans, using with JSP, 20

jsp:useBean action

  • JavaBeans, using with JSP, 18

jspInit() method

  • JSP page implementation, 3

JspPage class, javax.servlet.jsp

  • JSP page implementation, 3

L

loan calculator, JSP, 12

  • implementing, 13

  • using, 17

O

out implicit object

  • implicit objects, JSP, 6

P

page directive

  • directives, JSP, 10

  • table of attributes, 10

Page implicit object

  • implicit objects, JSP, 8

page scope

  • implicit objects, JSP, 6

pageContext implicit object

  • implicit objects, JSP, 6

param action, jsp:

  • actions, JSP, 12

plugin action, jsp:

  • JavaBeans, using with JSP, 20

R

request implicit object

  • implicit objects, JSP, 6

request processing phase

  • JSP deployed in web container, 2

request scope

  • implicit objects, JSP, 6

RequestDispatcher interface

  • jsp:include action compared, 11

response implicit object

  • implicit objects, JSP, 6

RowSet interface, javax.sql, 23

S

scripting elements, JSP, 5

  • declarations, 5

  • expressions, 5

  • scriptlets, 5

scriptlets

  • scripting element, JSP, 5

servlets

  • JSP and servlets together, 21

  • presentation question, 1

servlets and JSP, using together see JSP and servlets, using together.

session implicit object

  • implicit objects, JSP, 6

session scope

  • implicit objects, JSP, 6

setProperty action, jsp:

  • JavaBeans, using with JSP, 20

T

Tag interface, javax.servlet.jsp.tagtext

  • tag libraries, JSP, 21

tag libraries

  • JavaBeans, using with JSP, 21

taglib directive

  • actions, JSP, 11

  • directives, JSP, 9

toString() method

  • JSP expressions element, 6

translation phase

  • JSP deployed in web container, 2

U

useBean action, jsp:

  • JavaBeans, using with JSP, 18

  • sequence of working, 19



 < Free Open Study > 



Professional Java Servlets 2.3
Professional Java Servlets 2.3
ISBN: 186100561X
EAN: 2147483647
Year: 2006
Pages: 130

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net