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...

Main reasons for using servlet as a controller in struts.
why not jsp

Answer Posted / christ

If JSP's are using as a controller, then we should break the
rule of MVC. Which is the base for using struts. MVC is used
to divide the application into three part(model part, view
part and controller part). So that in future if we want to
change the view, then you do not need to do much work on
your logic part.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how to work with error tags?

1025


Where can I get help with struts?

1004


What steps are required to for an application migration from Struts1 to Struts2?

1031


What is the purpose of @emailvalidator annotation?

1020


How can forward action be used to restrict a strut application to mvc?

983


Which class is the Front Controller in Struts2?

984


What is difference between interceptors and filters?

1032


What is struts and springs in java?

1054


What is form bean in struts?

956


What is used to display the intermediate result in an interceptor?

957


What is the purpose of interceptors?

1007


How client side validation is enabled on a jsp form?

1076


What does action do in struts?

1012


What are the steps of struts installation?

1008


What are the different kinds of actions in struts?

1047