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

jsp means very less code in java.and also their is no tags
for intigrate with other logic.i.e means controll with
other logic just like as connection polling,data accessing
object,persistance logic.suppose u take as jsp as
controller programmer feels lot of complexity.Hence
industry recomended struts as controller.in servlet easy
intigrate with other logic.
Industry recomended as MVC rule servlets as controller,jsp
as view layer.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is struts?

1032


How are interceptors and servlet filters different?

1044


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

1267


What are action errors and error?

1077


How is forward action used for integration?

1072


How do you find the struts version being used in a project?

978


What is the difference between shocks and struts?

1005


How action-mapping tag is used for request forwarding in struts configuration file?

1008


What is apache struts framework?

1027


Explain the components of struts?

1018


What is the purpose of @beforeresult annotation?

1078


Do we need to pay the struts if being used in commercial purpose?

1053


How an actionform bean is created?

1016


What is request processor and how does it relates to action mapping?

1086


Why aren’t the struts tags maintained as part of the jakarta taglibs project ?

964