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

What are the steps involved in creating a strut application?

953


How can we handle exceptions thrown by application in Struts2?

943


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

916


How we can configured action mapping in struts?

1012


What is the purpose of @conversionerrorfieldvalidator annotation?

1177


Which library is provided by struts for form elements like check boxes, text boxes etc?

925


Is Struts Framework part of J2EE?

1026


What is role of actionservlet?

1028


What is the use of resourcebundle.properties file in Struts Validation framework?

1064


How can link tag’s action attribute be used?

950


Does apache struts run on windows?

980


What is the difference between validation.xml and validator-rules.xml files in struts?

914


How many struts config file in a struts application?

919


What is the actionform?

1025


Where should struts xml be placed?

921