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 |
wahts the diif between Mvc1 and Mvc2?
How can we integrate log4j in Struts2 application?
What is the configuration files used in struts?
What is the purpose of @result?
Which interceptor is responsible for i18n support?
is it necessary to write struts-confing.xml ,what tags are important in that xml file?
Which tag is used to declare constants in struts xml?
In which order struts framework searches for a message bundle?
How to get data from the velocity page in a action class?
Are struts and shocks the same?
Can you explain the directory structure for a struts folder in brief ?
What is MVC Architecture?
21 Answers HCL, Hexaware, Infosys, Infrascape, Tech Mahindra,