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 do you mean by ognl?

964


Why actionservlet is singleton in struts?

969


When do I need “struts.jar” on my classpath?

932


What helpers in the form of jsp pages are provided in struts framework?

949


What is actionform in struts?

947


What is the difference between filters and interceptors ?

1061


Can we have multiple struts config files ?

925


Explain architecture of struts2?

1054


What are the conditions for actionform to work correctly?

987


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

906


Where can I get help with struts?

961


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

868


When should be opt for struts framework?

990


What are the 5 constants of action interface?

977


Whats the difference between the default namespace and the root namespace?

956