Page Directive - 29 Feb 2008

Coding untuk membuat page include dan properties yang terdapat dalam sesuatu page...
merujuk pada sumber : http://www.caucho.com

Tujuan coding ini di cari bagi membolehkan page mempunyai ciri-ciri auto refresh.

<%@ include file="path" %> Includes the raw file path at translation time
<%@ page autoFlush="true" %> Tells JSP to flush the page buffer when it fills
<%@ page buffer=sizekb %> Gives the size of the page buffer in kb or none for no buffer
<%@ page contentType="description" %> Sets the content type and character encoding of the page
<%@ page errorPage="path" %> Defines a page to display if an error occurs in the JSP page
<%@ page extends="Java class" %> Changes the generated servlet's class
<%@ page import="package" %> Adds to the Java package import list for the generated Java file
<%@ page info="description" %> Gives a brief description for the page
<%@ page isErrorPage="true" %> Gives an error page access to the exception implicit variable
<%@ page isThreadSafe="true" %> Tells the JSP that multiple pages can execute in parallel
<%@ page language="lang" %> Sets the JSP script language to lang
<%@ page session="true" %> Tells JSP that the page participates in a session
<%@ taglib prefix="x" uri="foo" %> Configures tags with prefix x to use the tag library foo

No comments: