Can someone tel me how to redirect with data, by the following redirect method:
FacesContext.getCurrentInstance().getExternalContext().redirect("page1.xhtml");
I have some strings "regNo" which I want to send. Also, do let me know how I receive it in page1.xhtml.