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 are the 5 constants of action interface?

1021


Do I have to credit struts on my own website?

1001


Explain about logic match tag?

1067


What are different ways to create Action classes in Struts2?

1102


Can you explain aware interfaces in struts2?

1027


Can you explain custom tag?

981


What are the benefits of Interceptors in Struts2?

1179


List the important attribute and elements of action mapping under struts.

989


What is role of action class?

1059


Are interceptors and filters different?

1044


What is the purpose of @result annotation?

1154


Name some useful annotations introduced in Struts2?

978


What’s the difference between struts and espresso?

1000


What is controller in struts ?

996


What is difference between interceptors and filters?

1033