This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes JSP/Servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP/Servlets" Watch "JSP/Servlets" New topic
Author

JSP/Servlets

tokunbo fagbamigbe
Greenhorn

Joined: Mar 28, 2001
Posts: 5
Hi
Please could you in clear terme tell me the difference between JSP and Servlets and the advantages of each. Also could you let me know what the advantages of JSP are over ASP and vice versa


SCJP
Peter Tran
Bartender

Joined: Jan 02, 2001
Posts: 783
I think this question is more appropriate in the "Servlets and JSP's" forum, so I'm moving it there.
-Peter
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Just as a start,

A JSP is an 'easier' way to write a servlet. JSP's are compiled, and end up as servlets that output HTML. So JSP's are used as a presentation technology.

Servlets "extend the functionality of the web server". What this means in english, is that you can write a servlet that does no actual HTML output.. but simply act as a CGI to accept (for example) a bunch of form data, push it into a database, and then redirect to a response page.

ASP vs. JSP ?? That oughta be fun.
Gary Guion
Greenhorn

Joined: Jun 21, 2001
Posts: 23
Can a bean replace a servlet? Which one is better?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP/Servlets
 
Similar Threads
use defined tags in jsp
Advantages of JSP
jsp or cgi?
advantages of EJB
Servlets vs JSP