hi,
Version 1: Difference between jsp and servlet is similar to the difference between asp and Internet programming thru VB...one is embedded within the html code and executed directly while another calls a html page according to the request
Contradiction : You can also embed servlet code inside a html page
<servlet>
.........
.....
</servlet>
Version 2: While a servlet is precompiled (thatz why it is in .class format) a jsp gets compiled during execution
These are several versions explaining the differences..but the main thing is a JSP is a servlet by itself which calls the servlet engine and execute the java code in it and displays the content...
[Does these things made any sense.....]
Take care,
Regards,
R.Subramanian