这是一篇关于计算机的英文继续翻译
contentType
Specifies the content type of the generated page. For example:
<%@ page contentType="text/plain" %> The default content type is text/html; charset=8859_1.
import
Specifies a list of classes and packages the generated servlet should import. Multiple classes can be given in a comma-separated list. For example:
<%@ page import="java.io.*,java.util.Hashtable" %> The implicit include list is java.lang.*,javax.servlet.*,javax.servlet.http.*,javax.servlet.jsp.*.
buffer
Specifies the minimum required size of the response buffer in kilobytes, similar to the servlet method setBufferSize( ). The value should be written as ##kb. A special value of none indicates that content should be passed directly to the underlying PrintWriter in the ServletResponse (which may or may not pass the content directly to the client). For example:
<%@ page buffer="12kb" %> The default is 8kb.
autoFlush
Specifies if the buffer should be flushed when it's filled or if instead an IOException should be thrown. A true indicates to flush, a false indicates to throw. For example:
<%@ page autoFlush="true" %> The default is true.
session
Indicates the page wants to have access to the user's session. A true puts the session variable in scope and may set a client cookie to manage the session. A false disables access to the session variable. For example:
<%@ page session="false" %> The default is true.
errorPage
Specifies a page to display if a Throwable is thrown from within the JSP page and is not caught before reaching the server. This proves useful because it's difficult to do try/catch blocks when writing JSP pages. For example:
<%@ page errorPage="/error.jsp" %> The default behavior is implementation dependent. The path is context relative, so you don't need to worry about prepending the current context path. The target may be a JSP but doesn't have to be. If the target is a servlet, the servlet may retrieve the Throwable as the request attribute javax.servlet.jsp.jspException.
isErrorPage
Indicates the page is intended to be used as the target of an errorPage. If the value is true the page can access an implicit variable named exception to retrieve the Throwable.
language
Specifies the scripting language used in the code sections of the page. The language used must interact with Java well enough to expose the necessary Java objects to the script environment. For example:
<%@ page language="javascript" %> The default is java, the only language blessed by the specification.
如果那位哥们翻译的好
我再继续追加积分