I'm working on a large and complex web application. One of the things that bothers me is a WizardAction with one ActionForm working on multiple JSP pages. All of these JSP pages have hardcoded action URLs that map to struts actions. I'd like to re-use several JSP pages form this wizard in another wizard but it is difficult because of hardcoded action URLs and wizard specific ActionForm being used. Best practices that I have read recommends for "clarity and easy maintenance, the strategy for large applications should be to have one-to-one mapping between JSP pages and Action classes." This makes sense and would make it easier to reuse JSP pages in various wizards; however, hardcoded action URLs, correct me if I'm wrong, have to go away. I can think of two ways I could implement wizards that re-use JSP page with a separate Action and Form. 1) By going to re-used JSP page from two or more different JSP pages and subsequently return to the calling JSP page that implements such wizard. But what is the best way to return collected data? 2) By having dynamic action URLs in re-used JSP pages. Not sure about details yet. It also seems that Action Chaining described under this link, http://www.javaworld.com/javaworld/jw-09-2004/jw-0913-struts.html?page=4 , may be helpful as well. Any thoughts or suggestions for implementing wizards with re-usable JSP pages are greatly appreciated! Andre Piwoni
------------------------------------------------------------------------------ This email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else, unless expressly approved by the sender or an authorized addressee, is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action omitted or taken in reliance on it, is prohibited and may be unlawful. If you believe that you have received this email in error, please contact the sender, delete this e-mail and destroy all copies. ==============================================================================