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 Java Servlet & JSP?



What is the difference between Java Servlet & JSP?..

Answer / vengat

Both use server-side Java to dynamically generate web
pages. The source code to a JSP looks like HTML, with Java
embedded inside funny tags (*); the source code to a
servlet looks like Java, with HTML embedded in out.print
(...) statements. Both use the Servlet API to communicate
with the web server and the client. In fact, a JSP gets
compiled into a servlet, so they're almost identical in
terms of expressive power. The choice is, whether you're
more comfortable coding your pages in Java or in JSP-style
HTML


Though the both are identical, they have different roles in
the Model View Controller (MVC) architecture. View
corresponds to JSP, Controller corresponds to Servlet and
Model to BusinessLogic + Database

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More JSP Interview Questions

we want to provide the errors to the right side of the text field so what we want to add in jsp pages?

1 Answers   ITC Infotech,


How are jsp(java server pages) better than asp(active server pages)?

0 Answers  


What are the different scope values for the jsp objects?

0 Answers  


How is jsp better than servlet technology?

0 Answers  


What is full form of jsp?

0 Answers  


Why taglib is used in jsp?

0 Answers  


How do I mix jsp and ssi #include?

0 Answers  


What are the two kinds of comments in jsp and what's the difference between them ?

0 Answers  


How To maintain session ..?

3 Answers   TCS,


what will happen if we disable cookies in the web page?

7 Answers  


How can you include the results of another page?

0 Answers  


What are the components of jsp?

0 Answers  


Categories