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...

What is the difference between JSP and Servlet?

Answer Posted / satyabrata

Both servlet and jsp are web components. But servlet is
best suited for request processing, handling the business
logic while jsp is suitable for content generating .Its
easy to include html tag in jsp rather than servlet.Also
jsp is compiled to servlet when first loaded to
webserver.So in many framework servlet act as a controller
while jsp as a view.Also implicit object and action
elements available in jsp but not in servlet.

Is This Answer Correct ?    103 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is jsp index?

974


What is client scripting?

1020


What are the attributes of page directive?

988


How are the jsp requests handled?

990


Why is jstl used?

958


What is jsp and its advantages?

1007


What is c tag in jsp?

938


What is the difference between servletcontext and pagecontext?

1047


What are the benefits of pagecontext implicit object?

1286


What is Include directive?

1068


Why do we need servlets and jsp?

1058


What do you mean by jstl?

996


Can you disable jsp scripting?

1002


What are the possible values for language directive?

956


What is context in web application?

961