This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design 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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: JSP and Servlet
jQuery in Action, 3rd edition