waht is the main diference b/w servelts and JSP ?

Answer Posted / vaibhav

The major difference is that JSP files are dynamically
compiled at the time of request whereas the servlets had to
be compiled before the server is started. Evrytime the file
is modified, it is to be compiled manually and the server
needs to be restarted. This does not happen in JSp where
files are automatically compiled at the time of request and
the server need not be restarted.

Is This Answer Correct ?    17 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How we can create war file in servlet?

652


What are the differences between servlet context vs servlet config?

572


What are the phases of a servlet life cycle?

614


How httpservlet is different from the genericservlet?

558


What are different Authentication options available in Servlets.

561






What is called servlet container?

653


List the Different types of servlet?

568


Tell us something about servletconfig interface.

573


What is difference between GenericServlet and HttpServlet?

559


What is the use of servlet context?

522


What do you mean by a filter and how does it work?

528


What are the types of protocols supported by httpservlet ?

694


What do you mean by singlethreadmodel interface?

572


What is war file?

571


What is the workflow of a servlet?

710