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

How do we catch exception and process it using jstl?

959


What is the need for jsp?

971


What are the types of jstl tags?

920


How many jsp implicit objects are there?

962


What do cookies mean?

857


Explain the uses of jsp?

959


Why do we use jsp?

910


Explain handling of runtime exceptions.

1182


What is a scriptlet?

967


What is an implicit object?

892


How to delete a cookie in a jsp?

985


What is scriptlet and what is expression?

914


Explain pge Directives.

958


Can we write java code in jsp?

983


How does a jsp work?

894