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

JSP is a scripting language flexible for webdesigners to
undersatnd the tags with java language and this is
espicially for presentation, as in this struts scenario,
Servlet is a component which is responsible for taking the
contents of incomming http requests and decode and process
for furthur forwarding rather than presenation...So this is
genaral way of thinking to understand y they had chossen
servlet instead of jsp. if we are having a beeter
understaning of jsp and servlets then, we ourself can
decide which one is more better if your way of thinking
also considering the load balancing issues.

Is This Answer Correct ?    10 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the role of action class?

995


Can we have more than one struts-config.xml file for a single struts application?

883


Explain about struts dispatch action?

925


Can you explain custom tag?

932


What do you mean by dynaactionform?

927


What do you mean by ognl?

948


What is the front controller in struts2?

890


Why is action servlet a singleton in struts?

1026


What is the use of web xml in struts2?

852


How can we write our own interceptor and map it for action?

1007


What are the advantages of spring mvc over struts mvc?

861


Which configuration file is used for storing jsp configuration information in struts?

936


What are the two scope types for formbeans?

1142


Describe the basic steps used to create a tiles application?

1023


What are the classes used as part of struts framework ?

905