This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
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

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
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
jQuery in Action, 3rd edition