File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Difference between JSP and Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Difference between JSP and Servlet" Watch "Difference between JSP and Servlet" New topic

Difference between JSP and Servlet

Amol Umrani
Ranch Hand

Joined: Jun 21, 2006
Posts: 36
Can any one giv me the correct difference between JSP and Servlet.
cheenu Dev
Ranch Hand

Joined: Nov 13, 2005
Posts: 276
in jsp u hav
java in html
in servlet u hav
html in java...
well there r many diff...
this is basic why they seperated jsp n servlet...
its not easy to handle html tags in java...
Pavel Kubal
Ranch Hand

Joined: Mar 13, 2004
Posts: 356
I didn't read previous post, because it is not written in english, but this page may help you to understand the difference.
I agree. Here's the link:
subject: Difference between JSP and Servlet
jQuery in Action, 3rd edition