biểu hiện ngôn ngữ định nghĩa một tập của
pageContext: bối cảnh cho trang JSP. Cung cấp quyền truy cập vào các đối tượng khác nhau bao gồm:
servletContext: bối cảnh cho trang JSP servlet và bất kỳ thành phần web chứa trong cùng một ứng dụng. Xem truy cập Web bối cảnh.
Phiên: đối tượng phiên cho khách hàng. Xem duy trì khách hàng bang.
yêu cầu: Yêu cầu kích hoạt thực thi trang JSP. Xem thông tin nhận được từ yêu cầu.
phản ứng: phản ứng trả về bởi trang JSP. Xem Constructing hồi đáp.
ngoài ra, một số đối tượng tiềm ẩn có sẵn mà cho phép dễ dàng truy cập vào các đối tượng sau:
param: bản đồ một tên tham số yêu cầu một giá trị duy nhất
paramValues: bản đồ một tên tham số yêu cầu cho một loạt các giá trị
tiêu đề: bản đồ một tên tiêu đề yêu cầu một giá trị duy nhất
headerValues: bản đồ một tên tiêu đề yêu cầu đến một loạt các giá trị
cookie: bản đồ một tên cookie cookie duy nhất
initParam: bản đồ tên tham số khởi tạo bối cảnh để một giá trị duy nhất
cuối cùng, không có đối tượng cho phép truy cập vào các biến scoped khác nhau được mô tả trong phạm vi bằng cách sử dụng các đối tượng.
pageScope: Bản đồ scoped trang tên biến để giá trị của họ
requestScope: bản đồ yêu cầu-scoped tên biến để giá trị của họ
sessionScope: bản đồ scoped phiên tên biến để giá trị của họ
applicationScope: bản đồ ứng dụng-scoped tên biến để giá trị của họ
khi biểu hiện một tham chiếu đến một trong các đối tượng theo tên, thích hợp đối tượng được trả lại thay vì các thuộc tính tương ứng. Ví dụ, ${pageContext} trả về các đối tượng PageContext, ngay cả nếu có là một thuộc tính hiện có pageContext có chứa một số giá trị khác.
đang được dịch, vui lòng đợi..