About tying two pages and one action-handler together: You can do it this way: Action_1 -(forward)-> JSP_1 -(submit)-> Action_2 -(forward)-> Action_3 - Action_1 populates the form-beans for JSP_1 - JSP_1 displays the data - Action_2 evaluates the user-input and processes it - Action_3 populates the form-beans for JSP_2 The chain then can go on...Thus the only linking is done within struts-config.xml (where it belongs). I use this pattern often.
Normally I merge Action_1 and Action_2 using the mapping-parameter. For both aspects you can find infos in the mailing-list-archive. hth Alexander Jesse -----Original Message----- From: Tim Sawyer [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 12. Februar 2002 12:34 To: 'Struts Users Mailing List' Subject: RE: Pre and Post Processing Thanks for the info. For things like drop lists, we will be using a custom tag, as most of our drop lists come from a standard "validation group" XML transaction to our back end. We pass in a group serial, and it returns a set of values for the drop list. (Plus I don't particularly like the idea of having SQL in JSPs) A colleague of mine is currently investigating custom tags with a view to producing a simple interface for these drop downs. Keith suggested putting it in the ActionHandler....I'm not particularly comfortable with that, as that then ties the two web pages together. I'd like (ultimately) to have our back end drive which page comes next, rather than having it in the struts-config.xml, but to do this, I need to have each page autonomous, and have it get all it's pre-requisites itself. Jeff's mail ("Framework Questions") was interesting as it raises a similar point. I think I would like the ability for a JSP page to run an specific ActionHandler's perform() before processing the rest of the page. Comments? Tim. This e-mail and its attachments are for the use of the addressee only. It may contain information that is legally privileged, confidential and exempt from disclosure. It is not a contract, and prices, data and other information are not warranted as to completeness or accuracy. Any comments or statements made herein do not necessarily reflect those of PanCredit Systems Limited. If you are not the intended recipient you must not copy, distribute or disseminate this e-mail or attachments to anyone other than the addressee. If you receive this communication in error please advise us by telephone at once. PanCredit Systems Limited Tel: +44 113 250 0260 Fax: +44 113 250 0621 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

