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 some disadvantages of storing session state in cookies?
Explain the servlet filter.
Why are http servlets used in programming?
What do you mean by the servlet chaining?
What is webservlet?
Is servlet a controller?
Why do you use session tracking in httpservlet?
How can we create deadlock situation in servlet?
What's the difference between servlets and applets?
What is a servlet?
How do you define a servlet?
Can you refresh servlet in client and server-side automatically?
How does tomcat servlet container work?
Is it possible to have a constructor inside the servlet?
What is java servlet session?