This week's giveaway is in the Groovy forum.
We're giving away four copies of Groovy Fundamentals video training course and have Ken Kousen 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 Groovy Fundamentals video training course this week in the Groovy 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:
subject: JSP and Servlet