what are the componenets of struts?
Answers were Sorted based on User's Feedback
Answer / madhu
in Struts we have 3 components that are
model component
controller component
view component
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / venu
Struts Frame work has the follwing components:-
1.ActionServlet
2.web.xml
3.jsp
4.FormBeans(ActionForm)
5.struts-config.xml
6.ActionSub class(Action class)
7.ActionForward
| Is This Answer Correct ? | 6 Yes | 2 No |
Struts is based on MVC design pattern,struts components can
be catagorised in to model, view and controller.
model-all the business components and data are coming under
this catagory
view-jsp,html are part of view
controller-ActionServlet of struts is the part of
controller component
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / tarun
Struts is a MVC design pattern .
The following three are the struts component.
Model : DAO class, EJB classes
View : JSP, HTML Files
Controller : Action Servlet
Apart from this we need struts-config.xml, web.xml,
validator.xml, validation-rules.xml and properties files.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / mani
Basic Components of Struts:
1. Base Framework
2. JSP tag libraries
3. Tiles Plugin
4. Validator Plugin
(Refered from 'The Complete Reference-Struts')
| Is This Answer Correct ? | 6 Yes | 6 No |
Answer / raghavendra singh
Basic Components of Struts:
1. Action Servlet
2. Module Config
3. Request Processor
4. Action Mapping
5. Action Form
6. Action
7. Action forword
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kumar
Basic Components of Struts:
1. Action Servlet
2.Module Config
3. Request Processor
4.Action Form
5. Action
6.View Componeents(JSP pages)
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mani
Basic Components of Struts:
1. Base Framework
2. JSP tag libraries
3. Tiles Plugin
4. Validator Plugin
(Refered from 'The Complete Reference-Struts')
| Is This Answer Correct ? | 3 Yes | 8 No |
What are different Struts2 tags? How can we use them?
How to upload struts file?
What’s the utilization of resource bundle properties file in struts validation structure?
Can you explain value stack?
What is struts.devmode?
What is the purpose of @doublerangefieldvalidator annotation?
What are action errors?
In ActionClass we can use only one action i.e execute(), but in DispatchAction we can use multiple actions.My question is , we can use multiple actions in Action class if(action.equals("add") if(action.equals("update"). Then when to use Action and DispatchAction which is frequently in webapplications.
What is interceptor in Struts2?
How is forward action used for integration?
What is declarative exception handling in struts?
What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?