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
posted
0
I think this question is more appropriate in the "Servlets and JSP's" forum, so I'm moving it there. -Peter
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
posted
0
Can a bean replace a servlet? Which one is better?