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 the purpose of struts.properties in struct2?

904


Is struts mvc framework?

881


How does one create an action in struts 2?

919


Describe validate() and reset() methods.

1042


What are the steps involved in creating a strut application?

924


how to debug struts project in netbean ?

2326


What is includeaction?

955


Why it called struts?

901


What do you mean by actionmapping?

935


What is the purpose of form-beans tag in struct-config.xml?

882


What's the purpose of execute method of action class?

926


What is the use of namespace in action mapping in Struts2?

1019


Name the different types of actions found in struts.

944


Are interceptors and filters different?

980


What is http redirect?

974