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

JSP is a presentation layer (view). JSP is not a controller.
servlet is controller. because we can manipulate and add the
server-side we can write in the servelt.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is validate() and reset() functions?

966


How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?

1015


What is front controller in struts2?

1014


How are interceptors and servlet filters different?

919


Why use spring, if you are already using struts?

934


What is the purpose of @requiredstringvalidator annotation?

884


What are apache struts?

858


What is role of action class?

973


How to convert struts to spring mvc?

938


Can we have multiple struts config files ?

914


Which interceptor is responsible for i18n support?

866


What configuration changes are required to use resource files in Struts?

975


Are the struts tags xhtml compliant ?

889


What are the benefits of the struts system?

1090


What are inner class and anonymous class?

942