users
[Top] [All Lists]

Struts basic question

To: users@xxxxxxxxxx
Subject: Struts basic question
From: Sling Shot <slingshaut@xxxxxxxxx>
Date: Fri, 23 Jul 2004 15:17:07 -0700 (PDT)
Delivered-to: mailing list users@cinjug.org
Mailing-list: contact users-help@cinjug.org; run by ezmlm
Hi,
 
Is there a way in struts to provide a "branching action"?
What we have is a wizard style web interface which walks through
a seqeunce of forms. However in one instance, the next page in sequence
depends on one of the input choices selected by the user on the current
page.
 
I looked at ForwardAction and SwitchAction, but i dont think any of them
satisfies this problem. Since i think this is a fairly common scenario,
I am wondering if there is a way to handle this via configuration in struts.
 
Currently we are using an Action class to detect the user input and forward
to the appropriate action.
 
I would like to know if anyone knows of an alternative/recommended way of handling this scenario.
 
Thanks,
/sling


Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
<Prev in Thread] Current Thread [Next in Thread>