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 different actions available in struts?

955


What are the cons of struts 2?

950


What is actioninvocation?

899


Explain about the validation steps which have to be carried during validation of client-side address?

929


Describe validate() and reset() methods.

1024


How we can controlled duplicate form submission in struts?

887


What are the loop holes of struts?

988


How duplicate form submission can be controlled in struts?

1064


What is the purpose of @conversion annotation annotation?

1190


What is the purpose of struts.xml in struct2?

1075


What is apache struts used for?

870


How action mapping is configured in Struts?

1042


Who wrote struts?

921


What is xml based validation in struts2?

982


Why was reload removed from struts (since 1.1)?

933