*Struts flow
Browser => Controller Servlet(Action Servlet) => Create or Retrieve form bean => Store the form bean specified scope => call reset() method => populate form bean with requested data => call validate() method
if errors = Forward to Input page
If no errors = execute() method
*ActionServlet can be configured in 2 ways
- Extension map (*.do)
- Path map (/do/*)
*Struts Actions
- org.apache.struts.action.DispatchAction
- org.apache.struts.action.ForwardAction
- org.apache.struts.action.IncludeAction
- org.apache.struts.action.LookupDispatchAction
- org.apache.struts.action.MappingDispatchAction
- org.apache.struts.action.LocaleAction
- org.apache.struts.action.SwitchAction
*Struts Architecture
*Important tags in struts-config.xml
- DataSource
- FromBean
- action
- message-resources
- plugin