Prentice Hall and Sun Microsystems. Personal use only; do not redistribute.
536
Appendix A
Servlet and JSP Quick Reference
The session Attribute
<%@ page session="true" %> <%!   Default   %>
<%@ page session="false" %>
The buffer Attribute
<%@ page buffer="sizekb" %>
<%@ page buffer="none" %>
  Servers can use a larger buffer than you specify, but not a smaller one. 
For example, 
<%@ page buffer="32kb" %>
 means the document 
content should be buffered and not sent to the client until at least 32 
kilobytes have been accumulated or the page is completed.
The autoflush Attribute
<%@ page autoflush="true" %> <%!   Default   %>
<%@ page autoflush="false" %>
  A value of 
false
 is illegal when 
buffer="none"
 is also used. 
The extends Attribute
<%@ page extends="package.class" %>
The info Attribute
<%@ page info="Some Message" %>
The errorPage Attribute
<%@ page errorPage="Relative URL" %>
  The exception thrown will be automatically available to the designated 
error page by means of the 
exception
 variable. See Listings 11.5 and 
11.6 for examples.
The isErrorPage Attribute
<%@ page isErrorPage="true" %>
<%@ page isErrorPage="false" %> <%!   Default   %>
  See Listings 11.5 and 11.6 for examples.
The language Attribute
<%@ page language="cobol" %>
  For now, don t bother with this attribute since 
java
 is both the default 
and the only legal choice. 
Second edition of this book: www.coreservlets.com; Sequel: www.moreservlets.com.
Servlet and JSP training courses by book's author: courses.coreservlets.com.






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

jsp web hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Jsp Web Hosting Cheapest Web Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved