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 Servlet and JSP?Advantage of
JSP over Servelt?Any concept present in JSP which we cant
implement in Servlet?

Answer Posted / sainath

1:)Jsp is used for input page devolopement and response page
developement sake.

But Servlets not for output generation, used only for
requesthandling,receiving request,processing data,and
communicate with db.

2:)Major problem with Servlet is that dynamic content
generationcode and presentationcode is tightly coupled

Incase of Jsp loosecoupling

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How servlets are deployed in java?

1073


Why are http servlets used in programming?

1059


Which event is fired at the time of session creation and destroy?

1447


What is cgi?

1067


Why filter is used in servlet?

1040


How we can get ip address of client in servlet?

1031


What are the different methods involved in generic servlet?

1156


When a servlet accepts a call from a client, it receives two objects. What are they?

1307


Explain how to improve Servlet Performance?

1201


What are the steps involved in placing a servlet within a package?

1118


What do you mean by web applications? Explain web application directory arrangement?

1007


Which java application server is the best?

1087


What is the directory structure of a war file?

1217


Why do we need a constructor in a servlet if we use the init method?

1105


Differentiate between the get and post method

1123