struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manfred Wolff <>
Subject Re: One action per request, or chaining two?
Date Thu, 08 Jan 2004 06:43:53 GMT

There are no rules. In the programming guide of my project it is 
described, that you have to make two actions. The both actions has two 
diffrent suffixes (pre and post), so that you can differ it. Than the 
responsibility of the action is clearly than in the other way.


John Boyes wrote:

>I've read the archives on this subject (action chaining etc) carefully but
>am still slightly confused about the following:
>If a typical situation for a page request is:
>1) Data from a form submission is processed
>2) Data is retrieved from the database to generate the next page view,
>is it better practice to have just one action handle both 1) and 2), or is
>it better practice to relay two separate actions.
>I have read posts which indicate that one action per request should be the
>norm for most situations, but equally I have read other posts which indicate
>that it is normal to have one action to handle the form submission and
>another to generate the next page view.
>Thanks for any replies,

Dipl.-Inf. Manfred Wolff
phone neusta  : +49 421 20696-27
phone         : +49 421 534522
mobil         : +49 178 49 18 434
eFax          : +49 1212 6 626 63 965 33
Diese E-Mail enthält möglicherweise vertrauliche und/oder rechtlich geschützte Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren
Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie
die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended
recipient (or have received this e-mail in error) please notify the sender immediately and
destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material
in this e-mail is strictly forbidden.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message