hi,i am new in jsf.
there are three pages page1,page2,page3. from every page i go to other pages by commandlinks.
page1 is welcome page
page2 user input name,email,comments and enter to go page3.
page3 user view all comments from database.
Now i want to print "Comments successfully create" message in page3 only when user enter from page2.
and when i go from page1 to page3 message not print.
give some little coding to do this task in jsf.