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

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.Using servlet
as request processor and jsp as view we can achieve the mvc
architecture.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is scriptlet, expression and declaration in jsp?

981


What's the difference between javabeans and taglib directives?

941


Are dialogue tags necessary?

890


What is difference between sendredirect and requestdispatcher?

933


Can you disable the caching on the back button of a particular browser?

1047


What is jsp? Explain

931


Define Static Block.

953


Which tag is used to execute java source code in jsp?

1304


Explain pge Directives.

958


Can jsp contain javascript?

939


How run jsp program in netbeans?

936


Define Expression

983


What do you know about jsp tags?

885


How can I prevent the use of scripts and java code on the jsp page?

875


What is a jsp directive?

933