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
Explain servlet life cycle?
Which HTTP method is non-idempotent?
What is servlet and its life cycle?
What is meant by a servlet?
What is difference between cookies and httpsession?
Define the lifecycle for executing a jsp page.
What are different Authentication options available in Servlets.
What is the difference between a generic servlet and http servlet?
What are the uses of servlet and what is servlet chaining?
What are different ways for authentication of servlet?
Elucidate servlet attributes and its scope?
How do you design microservices?
Explain their methods? Tell me their parameter names also have you used threads in servlet?
Tell us something about servletcontext interface.
Explain the servlet filter.