Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Implementing wizard like interface in struts

Status
Not open for further replies.

semaj2007

Programmer
Jun 20, 2007
1
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top