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

JSP can be used as controller because it is converted into
servlet ultimately.But this is a violation of MVC pattern.
If you want to follow the pattern then you need to seperate
your presentation part and controller part.

Is This Answer Correct ?    31 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of @key annotation annotation?

1066


What’s the utilization of struts.xml configuration file?

919


What do you mean by tiles in struts?

1024


What do struts do?

954


How to explain Software Bank Loan descriptions

2463


How an actionform bean is created?

959


What is the use of jsonvalidation?

1114


How to get data from the velocity page in a action class?

948


What is the use of lookupdispatchaction?

1000


What is ognl?

1113


What is action class?

987


while working struts in intellij 7.0error unable to initialize tld location cache: zip file is closed is displayed anybdy can answer me immdialy .ungert

2540


What is package name in struts xml?

985


Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?

916


how to develop the submit and search operations in single jsp using struts?

2973