Javatpoint Logo
Javatpoint Logo

PrimeFaces Ajax Validation

PrimeFaces provides validation tags to validate our data at server side. The <p:ajax> is used to perform Ajax validation. Here, we are creating an example that takes two inputs and validate at server side.

This example includes the following files.

JSF File

// ajax-validation.xhtml



It produces the following output after execution.


PrimeFaces Validation 1

It validates data at client side and produces the following data.

PrimeFaces Validation 2

Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA