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

How to use forward action to restrict a strut application to mvc?

1094


How does struts2 token work?

1022


How to explain Software Bank Loan descriptions

2564


Why we use struts in java?

980


What is apache struts used for?

975


What is the use of web xml in struts2?

954


Which file is used by controller to get mapping information for request routing?

1104


Difference between struts and spring?

1258


How to handle exceptions in structs?

1204


What is validate() and reset() functions?

1087


What is actionservlet?

1054


What is http redirect?

1045


What is use of i18n interceptor?

1044


What is the purpose of constant tag in struts.xml?

1003


What configuration changes are required to use Tiles in Struts?

1069