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 the two different types of validations that the validator framework supports?
why servlet is used as controller not JSP?
What are the struts2 error message keys that can come during file uploading process?
Give the details of xml files used in validator framework?
Which model components are supported by Struts?
If the framework doesn’t do what I want, can I request that a feature be added?
How do struts work?
What is the use of jsonvalidation in struts?
What is controller in struts2?
Describe validate() and reset() methods.
What is the purpose of @emailvalidator?
What is the purpose of @result?