what is the difference between Servlet and JSP?Advantage of
JSP over Servelt?Any concept present in JSP which we cant
implement in Servlet?
Answer Posted / sonu
servlet is a java class.while jsp is a file.Internally when
we compile servlet will be generated from jsp file.jsp
complier will be the default one with all application
servers.Manually developed servlets perform more faster
than the servlets generated by the jsps.Jsp are used for the
display purpose only.In servlets we include the presentation
and business logic both
| Is This Answer Correct ? | 4 Yes | 6 No |
Post New Answer View All Answers
What is the main purpose of java servlets?
What are important features of Servlet 3?
Write a hello world program using servlets.
How do you get the ip address of the client in servlet?
Which event is fired at the time of project deployment and undeployment?
What do you mean by a filter and how does it work?
What is the difference between a generic servlet and http servlet?
Why servlet is mostly used?
What's the architecture of a servlet package?
Explain the concept of ssi ?
Explain the different ways for servlet authentication?
How native code can be used in a servlet?
What are the differences between the servletconfig interface and the servletcontext interface?
What exception should be thrown when servlet is not properly initialized?
What is a web container and what is its responsibility?