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...

why servlet is used as controller not JSP?

Answer Posted / xxx

while using in mvc1 architechture jsp is used as the
request and the response so that the presentation and
apllication logic are the same component but in case of
using servlets in mvc2 the advantage over this is that the
request is handled using jsp but the response and the
overall manipulation is done by using the servelet so that
the presentation and application logic are the same...ie
the difference

Is This Answer Correct ?    10 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is value stack?

1043


Can we have multiple struts config files in a single web app?

945


What validate() and reset() method does ?

1101


What is the purpose of constant tag in struts.xml?

956


In struts, how can we access java beans and their properties?

1027


Can you explain value stack?

926


Can a reducer dispatch an action?

950


Explain the difference between plain-validator and field-validator in struts?

956


How struts control data flow?

1112


what is meant by Struts Validator Framework?

1011


What are the loop holes of struts?

1053


What is the life cycle of actionform?

1024


What do you mean by inner class and anonymous class?

1094


How many action classes can be used in struts application?

992


What does validation interceptor?

1002