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

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

1107


What is the use of execAndWait interceptor?

1074


Which interceptor is responsible for i18n support?

988


Give an alternative way to protect jsp’s with not much features from direct access.

1057


What is the purpose of @intrangefieldvalidator annotation?

1384


How tag libraries are defined in Struts?

1046


Who wrote struts?

1024


Briefly tell the two kinds of form beans.

1024


What inbuilt themes are provided by struts2?

1175


What is the purpose of action-mappings tag in struct-config.xml?

1007


What are the steps required for setting up validator framework in struts?

1082


What is struts?

1034


What is the purpose of @beforeresult annotation?

1078


What is the role of a handler in mvc based applications?

1269


Which design pattern is implemented by Struts2 interceptors?

1062