File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes JSP and Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP and Servlet" Watch "JSP and Servlet" New topic

JSP and Servlet

tejaswini vasist

Joined: Apr 10, 2004
Posts: 17
What is the difference between Servlets and JSP?
Stephen Huey
Ranch Hand

Joined: Jul 15, 2003
Posts: 618
A JSP (Java Server Page) gets compiled into a servlet, so in the end they're the same. But when writing code, there are disadvantages to each depending on what you want to do. Check this out and Google around for more tutorials on them:
I agree. Here's the link:
subject: JSP and Servlet
It's not a secret anymore!