Your right, formbean "just" get request parameter for you. But they
are doing this too:

- allow syntax validation, programatically or by rules (via
validator.xml)
- allow "dotted" and indexed syntax (like  "property1.property2[3]"),
and so a realy objet-oriented formbean design
- can be dynabeans (so you don't need to create javabeans)

Nico.

>
> Please excuse the simple question (I am new to Struts):
>
> When is it appropriate to use form beans for an action?
>
> The reason why I ask is because you can obtain information from a
request
> via the information sent by the HTTP/Post/Get.  If I have a bunch of
widgets
> in a form I can just obtain the info in the action this way:
>
> request.getParameter("widgetName")
>
> I have a fairly good understanding of how form beans work, but I'm
just
> wondering in what type(s) of situation(s) these would be applied.
>
> Thanks for your help.
>
> John Curley
>
>
> --------------------------------------------------------------------
-
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to