core
Web
programming
The JSP page
Directive: Structuring
Generated Servlets
35
2001 2003 Marty Hall, Larry Brown http://www.corewebprogramming.com
Purpose of the page Directive
Give high level information about the servlet
that will result from the JSP page
Can control
Which classes are imported
What class the servlet extends
What MIME type is generated
How multithreading is handled
If the servlet participates in sessions
The size and behavior of the output buffer
What page handles unexpected errors
36
JSP
www.corewebprogramming.com
18