From the course: Java EE 8 Essential Training
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Java Standard Tag Library (JSTL) - Java EE Tutorial
From the course: Java EE 8 Essential Training
Java Standard Tag Library (JSTL)
- [Instructor] JSPs have the ability to add tag libraries which can deliver additional capabilities to the page. In this lesson, we'll explore the java standard tag library, one of the most commonly used tag libraries with JSP. To add a tag library, we first add a directive to the page. You'll remember that directives send messages to the JSP container to tell it what components to add. We currently have the page directive on our JSP, we're going to go ahead and add another directive that is going to be a tag library directive. So when we add a tag library, we specify a prefix, and that prefix can be used as a short hand way to reference tags within that library. So, we're going to assign C as the prefix for JSTL, and then we need to specify the URI for JSTL. Now, you'll notice that you get several selections provided for you by default, and you want to be very careful to make sure you get the right version. So you'll want to…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.