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

Java Server Pages: A Code-Intensive Premium Reference- P19: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. | This method is typically called from in order to initialize state. This method is required to create an initial JspWriter. Associate the out name in page scope with this newly created object. initialize returns no value. Parameters boolean int boolean Exceptions Thrown popBody Method public abstract JspWriter popBodyO The popBody method returns the previous JspWriter out saved by the matching pushBody and updates the value of the out attribute in the page scope attribute namespace of the PageContext. popBody has no parameters and throws no exceptions. JspWriter pushBody Method public abstract BodyJspWriter pushBody The pushBody method returns a new BodyJspWriter object saves the current out JspWriter and updates the value of the out attribute in the page scope attribute namespace of the PageContext. pushBody has no parameters and throws no exceptions. Returns BodyJspWriter Exceptions Thrown None release Method public abstract void release The release method resets the internal state of a PageContext releasing all internal references and preparing the PageContext for potential reuse by a later invocation of initialize . This method is typically called from . release has no parameters returns no value and throws no exceptions. removeAttribute name Method public abstract void removeAttribute name The removeAttribute name method removes the object reference associated with the specified name. It returns no value and throws no exceptions. Parameters removeAttribute name int scope Method public abstract void removeAttribute name int scope The removeAttribute method removes the object reference associated with the specified name and .

TỪ KHÓA LIÊN QUAN