When you use JSP as the presentation layer technology for JSF, you don't use the JSF API at all for creating and rendering components. Instead, you use the custom actions from the JSF custom tag libraries to say which components you need, and the tag handlers use the JSF API to create and render the corresponding component objects for you.
The first action element in the page,
Note that there's a one-to-one relationship between a JSF view and an HTTP response. Hence, you must use only one
The next JSF action element,