...
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
The Controller Classes
The controller classes are actions and forms. It's the action's job to take biz objects from the service and convert them (if necessary) for display on the screen, and take data from the jsp and convert it to biz objects to send to the service. An action should do only one thing, i.e. we aren't doing actions the "multiple method" way.
...
TBD - talk about how to go to different actions from the jsp using the hidden thingy
Spring Configuration
The spring config for actions should be done in action-servlet.xml.
...
For SAP apps, your base action should be the class edu.mit.mortar.controller.action.SAPBaseAction (which is usually the default in the skeleton).
Struts Configuration
The struts config should have some defaults setup for your app.
...
For actions that don't need input, they should not have a form.
Tiles Configuration
Tiles config comes preconfigured with some building blocks for your pages.
...