Top "Jsf" questions

JSF, Jakarta Server Faces (formerly known as JavaServer Faces) is a model-view-presenter framework typically used to create HTML form based web applications.

What is the difference between JSF, Servlet and JSP?

I have some questions. These are : How are JSP and Servlet related to each other? Is JSP some kind of …

java jsp jsf servlets jakarta-ee
How to include another XHTML in XHTML using JSF 2.0 Facelets?

What is the most correct way to include another XHTML page in an XHTML page? I have been trying different …

jsf xhtml include jsf-2 facelets
Opening XML page shows "This XML file does not appear to have any style information associated with it."

I'm trying to run my Eclipse JSF project on Apache Tomcat on other computer. I created a WAR file with …

xml eclipse jsf facelets
Differences between action and actionListener

What is the difference between action and actionListener, and when should I use action versus actionListener?

jsf jsf-2 action actionlistener
javax.faces.application.ViewExpiredException: View could not be restored

I have written simple application with container-managed security. The problem is when I log in and open another page on …

jsf jsf-2 logout viewexpiredexception
Understanding PrimeFaces process/update and JSF f:ajax execute/render attributes

What exactly are process and update in PrimeFaces p:commandXxx components and execute and render in f:ajax tag? Which …

jsf primefaces process updates
Get Request and Session Parameters and Attributes from JSF pages

I'm using JSF with facelets and I need to get the request and session parameters inside the JSF page. In …

session jsf request facelets
List of <p:ajax> events

I've searched the Internet and I cannot find a list of <p:ajax> events. Can anyone provide a …

ajax jsf jsf-2 primefaces
How to choose the right bean scope?

I noticed that there are different bean scopes like: @RequestScoped @ViewScoped @FlowScoped @SessionScoped @ApplicationScoped What is the purpose of each? …

jsf jsf-2 scope managed-bean
commandButton/commandLink/ajax action/listener method not invoked or input value not set/updated

Sometimes, when using <h:commandLink>, <h:commandButton> or <f:ajax>, the action, actionListener or …

jsf jsf-2 action commandbutton commandlink