Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How Struts will follow the MVC?

Answer Posted / krishnareddy

hi all,
->designpattern means it is the solution for the
reoccuring problem.
->The main aim of the MVC architecture is to separate
the business logic and application data from the
presentation data to the user.
->in model we can write our own code(like beans).
simply we can say that model is responsible for
managing the data.
->in view component we can write jsp code.
->controler is responsible for controling the application.
as part of controler we can write the servlet code.
use of mvc:-
1)suppose we write the code as part of controler to connect
to oracle database.
now i want to connect to another database like sybase.in
that particular swictuation i dont need to change model and
view components.what ever the code up to that controler
part only has been changed.
so that performance of the application automatically
increased.
there is the clean separation between the business logic
and presentation logic.
2) By using the MVC design pattern our
application becomes more expressive

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Who wrote struts?

921


What’s the difference between struts and espresso?

915


Explain the difference between jakarta struts and apache struts?

898


What is the purpose of execute() method?

1010


What is struts2 framework?

878


What is struts and why it is used?

884


What is the role of action class?

995


What’s the utilization of struts.xml configuration file?

885


Describe validate() and reset() methods.

1024


What is the use of forwardaction?

958


Explain about the validation steps which have to be carried during validation of client-side address?

928


What are the ways in which duplicate form submission can occur?

880


How do you convert struts to springs?

974


What are the components of struts?

908


What is the difference between validation.xml and validator-rules.xml files in struts validation framework?

957