Java Server Pages: A Code-Intensive Premium Reference- P21

Java Server Pages: A Code-Intensive Premium Reference- P21: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. | getServletName Method public getServletNameO The getServletName method returns the registered servlet s name. getServletName has no parameters and throws no exceptions. Returns getInitParameter Method public getInitParameter The getinitParameter method returns a String containing the value of the initialization parameter s name value pair referenced by the passed in String representing the name. getInitParameter throws no exceptions. Parameters Returns getInitParameterNames Method public getInitParameterNames The getinitParameterNames method returns an Enumeration of strings representing all of the initialization parameters names. getinitParameterNames takes no parameters and throws no exceptions. Returns ServletContext Interface public interface ServletContext The ServletContext interface defines an object to be created by a servlet engine that contains information about the servlet s environment. This interface provides several methods to access this information. getContext Method public ServletContext getContext uripath The getContext method returns a reference to a ServletContext object belonging to a particular URI path. getContext throws no exceptions. Parameters Returns ServletContext getInitParameter Method public getInitParameter name The getinitParameter method returns the value for the named context parameter. getInitParameter throws no exceptions. Parameters Returns - 201 - getInitParameterNames Method public Enumeration getInitParameterNamesO The getinitParameterNames method returns an Enumeration of all the context parameter names. getinitParameterNames has no parameters and throws no exceptions. Returns Enumeration getMajorVersion Method public int getMajorVersion The getMajorVersion method returns an .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.