Struts is a framework software to develop mvc base web application having the capability to generate integration logic of controller servlet dynamically.This make programmers only concentrate on view layer-presentation logic and Model layer Business logic.
Vendors :Apache foundation
Based on servlet api-2.4,jsp api2.0
Installing: installing struts s/w is nothing but downloading the zip file and extrat it.
Components/file involve in struts Application deployment
- jsp(views)-contain presentation logic
- Action Servlet—Built in serlet acting as controller.
- Web.xml Development Descriptor
- FormBean (ActionForm)-Simple java class developed by programmer to store client supplied form date(jsp/html) into its objects,javaBeans class contain getter & setter method.
- Action class:- Simple java class developed by programmer either containing Business logic or logic to interect model components.
- Action Forward:-Xml entries in struts-config.xml file pointing to result.
- struts-config file:-Xml file containing configuration of action classes,form bean,action forward and etc.