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?

Answers were Sorted based on User's Feedback



How Struts will follow the MVC?..

Answer / 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

How Struts will follow the MVC?..

Answer / rout

clear separation betwwen the layers..

Is This Answer Correct ?    1 Yes 0 No

How Struts will follow the MVC?..

Answer / somesh

The Model-View-Controller (MVC) framework is a proven and
convenient way to generate organized, modular applications
that cleanly separate logic, style, and data. In the Java
world, Struts is one of the best-known and most talked
about open source embodiments of MVC. Struts contributors
have recently enhanced the project's core functionality and
improved the view support, incorporating the Tiles view
component framework to strengthen support for component-
based development, to increase reuse, and to enhance
consistency.

Is This Answer Correct ?    6 Yes 6 No

How Struts will follow the MVC?..

Answer / 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

How Struts will follow the MVC?..

Answer / tanugula pradeep kumar

hi to all .here is another answer.i hope it may be used to
to atleast anyone .

Struts provides you the basic infrastructure infrastructure
for implementing MVC allowing the developers to concentrate
on the business logic.

MVC Architecture

The main aim of the MVC architecture is to separate the
business logic and application data from the presentation
data to the user.

Here are the reasons why we should use the MVC design
pattern.
They are resuable : When the problems recurs, there is no
need to invent a new solution, we just have to follow the
pattern and adapt it as necessary.
They are expressive: By using the MVC design pattern our
application becomes more expressive.

Is This Answer Correct ?    2 Yes 8 No

How Struts will follow the MVC?..

Answer / uio

232

Is This Answer Correct ?    3 Yes 12 No

Post New Answer

More Struts Interview Questions

Explain design patterns which is used in struts?

0 Answers  


can we change the location of struts-config.xml file?

2 Answers   TCS,


How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?

0 Answers  


What’s the difference between struts and turbine? What’s the difference between struts and espresso?

0 Answers  


What is struts2 framework?

0 Answers  


Which interceptor is responsible for mapping request parameters to action class Java Bean properties?

0 Answers  


How client side validation is enabled on a jsp form?

0 Answers  


How to add ms-word file in struts at the same time how to add images

1 Answers  


Does apache tomcat use struts?

0 Answers  


What kind of mvc is struts 2?

0 Answers  


Hai all.Can i develope Struts action class without execute(-,- ,-,-)method.Ifd it's possible plz provide some sample code.

3 Answers   TCS,


What are the classes used in struts?

0 Answers  


Categories