struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Husted <>
Subject Re: [POLL] What do you use action forms for?
Date Thu, 12 May 2005 12:04:27 GMT
My question would be: 

* Under this poll how does the Struts MailReader application use ActionForms?

I would think the essential question is whether people use ActionForms to 

1) Harvest or populate only the default values of form controls. 
2)  Populate other page members, such as the items displayed on a
drop-down lists.

In Struts 1.0, the design of the taglib implied (1). In Struts 1.1, we
extended the tags to make (2) more convenient.

I tried (2) for a while, but went back to (1). 

I would say that (1) is the "cannonical" approach, and (2) is a
standard deviation.


On 5/11/05, Michael Jouravlev <> wrote:
> By the way, hopefully by input and output data we understand the same
> information. For example, this wiki page
> treats data
> from a page point of view: "Most pages have both input data (setup)
> and output data (request name/value pairs)." That means, that input
> (setup) data is used to build the page, and output data is sent from
> the page. I just noticed that ;)
> I treat data from action's point of view. Thus, input data is sent
> from the browser to the action, and output data generated by action
> and sent to the page.

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

View raw message