1. Trang chủ
  2. » Giáo Dục - Đào Tạo

The JSP standard taglib (JSTL) (lập TRÌNH WEB SLIDE)

27 41 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 27
Dung lượng 1,18 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Server-side Web ProgrammingLecture 21: The JSP Standard TagLib JSTL... • JSTL provides tags for common JSP tags that needed to be performed in JSP to reduce the amount of scripting in y

Trang 1

Server-side Web Programming

Lecture 21:

The JSP Standard TagLib

(JSTL)

Trang 2

• JSTL provides tags for common JSP tags that needed to be performed in JSP to

reduce the amount of scripting in your

applications, make it easier to code and

read than equivalent JSP script, especially for web designers and other

nonprogrammers who are used to HTML syntax

Trang 3

• The JSTL expression language will be

part of JSP 2.0

Trang 4

JSTL Components

Trang 5

Make the JSTL JAR file available to

your applications

Trang 6

How to code a JSTL tag

Trang 7

How to view the documentation

for a library

Trang 8

The Cart Application

Trang 10

url tag

Trang 11

forEach tag

Trang 13

forTokens tag

Trang 15

Four more attributes for looping

Trang 18

if tag

Trang 20

choose tag

Trang 22

import tag

Trang 24

Other tags in JSTL core library

If you use the MVC pattern, you probably won’t need

to use these tags

Trang 27

The Cart Application

Page 358

Ngày đăng: 29/03/2021, 10:55

TỪ KHÓA LIÊN QUAN