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 / veeresh n

Both jsp (java server pages) and servlets are web
components.
Jsp is best suitable for presenting the Content. Servlet is
best suitable for processing the request, so many frame
works use servlet as controller and jsp as view. Jsp has
implicit objects and action tags but servlets doesn't have
and implicit objects and action tags.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is it that JComponent have add() and remove() methods but Component doesn’t?

992


Differentiate between jsp scriptlet tag and declaration tag.

1080


Why are implicit objects not available in a regular jsp page?

1217


Why session is used?

899


Where is jsp used?

944


What is the _jspservice() method?

1082


Is jsp static or dynamic?

1020


How do I use comments within a jsp page?

972


How to comment out jsp code?

1014


Why is it not necessary to configure standard jsp tags in web.xml?

896


How does error handling occur with jstl?

969


What do you mean by jsp?

961


What is the use of jsp and servlet?

937


What is full api?

975


Give the syntax for jsp comments.

898