TAILIEUCHUNG - Java Server Pages: A Code-Intensive Premium Reference- P24

Java Server Pages: A Code-Intensive Premium Reference- P24: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. | Parameters Cookie containsHeader Method public boolean containsHeader name The containsHeader method returns true if the named header exists in the response. containsHeader throws no exceptions. Parameters Returns boolean encodeURL Method public encodeURL url The encodeURL method s URL encodes the passed-in String and returns it. If no changes are necessary then it simply returns the String. encodeURL throws no exceptions. Parameters Returns encodeRedirectURL Method public encodeRedirectURL url The encodeRedirectURL method s URL encodes the passed in String for use in the sendRedirect method. If no changes are necessary then it simply returns the String. encodeRedirectURL throws no exceptions. Parameters Returns sendError int sc message Method public void sendError int sc message throws The sendError method sends an error to the client in the response object. The error consists of the int status code and a String message. sendError returns no value. Parameters int Exceptions Thrown sendError int sc Method public void sendError int sc throws - 231 - This sendError method sends an error to the client in the response object. The error consists of only the int status code. sendError returns no value. Parameters int Exceptions Thrown sendRedirect Method public void sendRedirect url throws The sendRedirect method redirects the client to the passed-in URL which must be an absolute URL. sendRedirect returns no value. Parameters Exceptions Thrown setDateHeader Method public void setDateHeader name long date The setDateHeader method adds a name date-value field to the response header. The .

TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
23    6    0    13-08-2020
36    3    0    13-08-2020
TÀI LIỆU LIÊN QUAN