The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
September 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


basic difference

Posted by ashok on May 23, 2001 at 8:09 AM

sorry jsp is not from client side. It is also a server page with many inbuilt objects like request, response etc.

the basic difference

> Servlet sits on a server side
> servlet is an embedded Html java program.
> used much for the processing rather than for presentation
> much quicker

> JSP is just a HTML with embedded java code
> JSP is from client side
> used much for presentation rather than processing
> processing speed is less coz JSP is converted to a servlet and runs

> Hope this helps...

> RT

> > > i want to know the basic difference between jsp and servlet.Bcoz jsp programs are converted in to servlet programs by jsp ingine.

> > > ramesh.


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us