Hi there,
May be someone has already solved this problem. I need to implement a wizard like page flow in my strut web application.
This is what I've done:
1. Created one big action form and put it in session scope.
2. Created action class extending DispatchAction
3. Created several jsps.
I successfully implemented the logic with previous, next, finish, and cancel button. I removed the action form from session if the user clicks cancel or finish buttons. The only problem i'm having is how to remove the action form from session if the user navigates to other pages from menu bar (without clicking cancel or finish buttons).
The other problem I'm having is how to navigate the user to first step if he/she directly types the url of other subsequent pages.
I think i'm not the first person to face this problem. someone must have already implemented this. Any hint will be greatly appreciated!!
I don't want to use third party plugins.
Thanks,
semaj
May be someone has already solved this problem. I need to implement a wizard like page flow in my strut web application.
This is what I've done:
1. Created one big action form and put it in session scope.
2. Created action class extending DispatchAction
3. Created several jsps.
I successfully implemented the logic with previous, next, finish, and cancel button. I removed the action form from session if the user clicks cancel or finish buttons. The only problem i'm having is how to remove the action form from session if the user navigates to other pages from menu bar (without clicking cancel or finish buttons).
The other problem I'm having is how to navigate the user to first step if he/she directly types the url of other subsequent pages.
I think i'm not the first person to face this problem. someone must have already implemented this. Any hint will be greatly appreciated!!
I don't want to use third party plugins.
Thanks,
semaj