JSF application typically uses JSP pages to represent views. JSF
provides useful special tags to enhance these views. Each tag gives rise
to an associated component. JSF (Sun Implementation) provides 43 tags in
two standard JSF tag libraries:
- JSF Core TagsLibrary
- JSF Html Tags Library
Even a very simple page uses tags from both libraries.
These tags can be used adding the following lines of code at the head of
the page.
<%@ taglib uri=”http://java.sun.com/jsf/core
“ prefix=”f” %> (For Core Tags)
<%@ taglib uri=”http://java.sun.com/jsf/html
“ prefix=”h” %> (For Html Tags)
|