waht is the main diference b/w servelts and JSP ?
Answer Posted / surendra
Jsp is nothing but a servlet
By using jsp we can seperate presentation logic from
bussinesslogic
The report that generate to the enduser must be placed in
jsppage
All the database operations must be placed in a javabean
so that we can easily modify the application if required
To simplify the development of the application jsp is used
rather than servlets.
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What are the differences between forward() method and sendredirect() methods?
What are the difference between RMI and Servlets?
How servlet is created?
Can we get PrintWriter and ServletOutputStream both in a servlet?
Is it good idea to create servlet constructor?
Write a program to show the functionality of doget and dopost method?
Elucidate servlet attributes and its scope?
What are the steps that are involved in using the httpservlet class?
What are the important functions of filters?
How will you pass values from HTML page to the servlet?
How can an existing session be invalidated?
What are the advantages of cookies?
Define the lifecycle for executing a jsp page.
What are life cycle methods of a servlet?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?