waht is the main diference b/w servelts and JSP ?
Answer Posted / anurag joseph
there are minor difference btw these two.Servlet is used
for processing afterall containter is servlet engine.It
perform many task like load balancing,request
processing,generating image on fly.But if we want to
responce an html format than this is not efficient.thats
why jsp is needed.jsp is java inside Html and servlet is
like html inside java.JSP is used for graphical user
interface. it focus upon presentation not business logic
and processing.
| Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
What are common tasks performed by Servlet Container?
What is the difference between 2 types of servlets?
Elucidate servlet attributes and its scope?
What is a generic servlet?
Why is a constructor needed in a servlet even if we use the init method?
How do you define a servlet?
How printwriter is different from servletoutputstream?
How servlets are deployed in java?
How we can get ip address of client in servlet?
What is the use of attribute in servlets?
How can the session in servlet be destroyed?
What is servlet and list its types?
What are the steps that are involved in using the httpservlet class?
What is httpservlet class?
What is session tracking?