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

The main difference between jsp and servlet is that in
servlet we write html code in java class and in jsp we write
java code in html page.Servlet is a java class.According to
MVC(model,view,controller) pattern servlet is used as
controller while JSP is used as view.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is welcome file list?

950


What is jsp net?

936


Can a jsp page process html form data?

984


What is application in jsp?

868


What is the jspinit() method?

961


What is the resourcebundle class in jsp?

923


What is a scriptlet in jsp and what is its syntax?

923


What is jsp action tags?

917


How does jsp engines instantiate tag handler classes instances?

912


Can you use javascript in jsp?

946


How we can configure init params in jsp?

1029


What are the implicit objects in jsp?

957


How is scripting disabled?

1016


Can a subsequent request be accessed with one’s servlet code, if a request attribute is already sent in his jsp?

960


Why are the request.getrequestdispatcher() and context.getrequestdispatcher() used?

1048