tailieunhanh - Java Server Pages: A Code-Intensive Premium Reference- P18

Java Server Pages: A Code-Intensive Premium Reference- P18:Before you begin reading Pure JSP Java Server Pages, you might want to take a look at its basic structure. This should help you outline your reading plan if you choose not to read the text from cover to cover. This introduction gives you an overview of what each chapter covers. | releasePageContext Method public void releasePageContext PageContext pc The releasePageContext method is called to release a previously allocated PageContext object returned from a call to getPageContext . This method should be invoked prior to returning from the _jspService method of a JSP implementation class. releasePageContext returns no value and throws no exceptions. Parameters PageContext getEngineInfo Method public JspEngineInfo getEngineInfo The getEngineinfo method is called to get implementation-specific information on the current JSP engine. It has no parameters and throws no exceptions. Returns JspEngineInfo JspWriter Class public abstract class JspWriter extends JspWriter is an abstract class that emulates some of the functionality found in the and classes. However JspWriter differs from these other classes in that it throws a from the print methods where Printwriter does not. JspWriter class has four fields and numerous methods as described in the following sections. NO_BUFFER Field public static final int NO_BUFFER This field is a constant indicating that the writer is not buffering output. DEFAULT_BUFFER Field public static final int DEFAULT_BUFFER This field is a constant indicating that the writer is buffered and is using the implementation default buffer size. bufferSize Field protected int bufferSize This field indicates the writer s buffer size. autoFlush Field protected boolean autoFlush This field indicates whether the buffer will be automatically flushed. JspWriter Method protected JspWriter int bufferSize boolean autoFlush The JspWriter method is a protected constructor. It returns no value and throws no exceptions. Parameters int boolean - 171 - newLine Method public void newLine throws Exceptions Thrown print boolean b Method public void print boolean b throws This print boolean b method prints a .

TỪ KHÓA LIÊN QUAN