How Struts will follow the MVC?

Answer Posted / guest

The basic purpose of the MVC architecture is to separate the
business logic and application data from the presentation
data to the user. So in struts there are various components
for these three flavours. For Model struts has not provided
any component as a part of framework so user can have
liberty to use code of his own. For view components JSPs are
used mainly.And for controller there are Action servlet and
the structs configuration files which together acts as a
controller.

Is This Answer Correct ?    16 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is apache struts framework?

741


Explain how can we upload files in struts2 application?

841


What is package name in struts xml?

792


What are action errors and error?

815


What do you know about validation plugin ?

727


Explain about struts dispatch action?

770


What is the use of form bean in struts?

715


What are action errors and error and what are the consequences they impose?

797


What is the purpose of struts.xml in struct2?

880


What is the apache struts vulnerability?

732


How to override the default error message that can come during file uploading process?

800


Which library is provided by struts for form elements like check boxes, text boxes etc?

723


What do you mean by ognl?

789


What is struts framework in java?

745


What is the use of struts?

731