If I wanted to have a form like that above in Struts 2, am I correct in thinking I would define a class e.g. CustInfoForm, have getters/setters for all the properties and then include the form in whatever class it is needed?
In other words, is there no equivalent of the DynaActionForm in struts 2 that allows forms to be defined in the struts.xml file?
Struts 2 does away with forms beans (thank goodness!). It uses Plain Old Java Objects (POJO's), so instead of creating a form bean, you'd just create a POJO for your customer information and create it or populate it in your action class. Since the action has a direct reference to it, there's no need to configure it in an XML file.
DynaActionForm was a work-around for having to create a form bean for each form. Since we don't have form beans, we don't need DynaActionForm.