The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 2001

Advertisement

Advertisement

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.

Message:

Here is what I know

Posted by Senthoor on December 11, 2001 at 11:20 AM

JSP will be compiled in to a class file when it is accessed for the first time. Which means that when you access a JSP for the first time the response time will be more...

But servlets are already compiled calsses. So they don't need to be compiled again. Which means the response time s faster even at the first request.

Moreover JSP files are plan text files which contains Java code and HTML Brower based language (WML or HDML) but Servelets are not like that... You have to get the output stream and print the HTML code to the output stream....

I found a link which might help you more in understanding the differences...

http://serverwatch.internet.com/articles/servlets/overview_d.html

and also for more info you can look into

http://www.servlets.com/soapbox/problems-jsp.html

Senthoor



Replies:

Sponsored Links



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