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
What do you mean by a filter and how does it work?
Explain is servlet mapping?
What is lazy loading and what is Generic Servlet Class?
What do you mean by mime type?
How to make sure a servlet is loaded at the application startup?
What is the use of send redirect () method?
Write a program to show the functionality of doget and dopost method?
How the typical servlet code look like ?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
How does java thread pool work?
What are the different mode that servlets can be used?
What is the use of attribute in servlets?
What is servlet? Explain
What is the difference between CGI and Servlet?
What do you mean by scope object and what are its types?