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 / ramaswamy ratnala

in servlets presentation logic and applilcation logic are
tightly coupled .application logic cannot support to give
the persentation logic
in spring terminology this problem is called as the
dependency problem
in jsp application logic and persentation logic are
sperated by defineing by java beans

Is This Answer Correct ?    28 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between Server and Container?

625


What is servlet attributes and their scope?

598


What is context in servlet?

542


How the typical servlet code look like ?

639


What is difference between cookies and httpsession?

548






When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?

580


What is the difference between portlet and servlet?

514


What is the process for chaining servlet?

613


Write a command to get actual path of a servlet to the server?

541


What are the advantages of Servlet over CGI?

670


Why is servlet used?

686


What is Servlet API used for connecting database?

622


What do you mean by url pattern in servlet?

631


How a servlet is unloaded?

593


What is the type of method for sending request from http server?

598