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

How the typical servlet code look like ?

636


how to link html file to sevlet file.one name is textbox,c&c++ is cheakbox,bc&mca is radio button and one submit buttonis ok why in this programme use in servelt file

2087


What is war file?

581


What is the inter-servlet communication?

702


What is a server side include (ssi)

570






What is the difference between forward () and sendredirect () functions in servlet? Explain

549


Which event is fired at the time of project deployment and undeployment?

788


What if we pass negative value in load-on-startup?

805


What is dispatcher servlet?

559


Differentiate between get and post?

684


What is meant by a web application

543


What are the various ways of session supervision in servlets?

525


Can we refresh servlet in client and server side automatically?

591


Is servlet synchronized?

605


In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify

586