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 / vinit srivastava
JSp is the extension of Servlet which simplyfiy development
of web application by facilitating embedding of dynamic
content generation logic into html pages.
Application developers used to write presentation logic in
servlet which result in a maintenence problem.
Development of servlet is a triesone process.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is Servlet API used for connecting database?
What are the life cycle methods of a servlet?
Which java application server is the best?
How to notify an object in session when session is invalidated or timed-out?
What do you mean by request dispatcher in servlet?
What is life cycle of Servlet?
How do cookies work in servlets?
When servlet object is created?
Explain servlet events?
Explain the role of dispatcherservlet and contextloaderlistener.
Explain how does JSP handle run-time exceptions?
Describe the phases of servlet lifecycle?
What is a servlet-to-servlet communcation?
What is a cookie What is the difference between session and cookie
How we can call a jsp from the servlet?