In my requirement i have one vf page have some fields and 2nd vf page have some fields and fine final page have save button.i want to save the details in final page how can i do this
try with below example, you will get an idea to acheive the functionality. https://www.salesforce.com/us/developer/docs/pages/Content/pages_quick_start_wizard.htm
https://www.salesforce.com/us/developer/docs/pages/Content/pages_quick_start_wizard.htm
For your requirement you need to use single controller for all the three pages.
Thanks.