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 / aarti

servlet Jsp
1
servlets are java classes jsp is not
2
consist of an html file
for static content &java file contains java code
for dynamic content embeded directly to
in an html page by
using special tags.

Is This Answer Correct ?    67 Yes 65 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is servlet api used for conneting database?

702


Explain the difference between get and post method in servlet?

609


Tell us something about servletcontext interface.

628


How do cookies work in servlets?

583


How servlet is created?

548






Why do we have servlet filters?

607


Explain the working of service() method of a servlet.

508


How do you configure a centralized error handler in servlets?

537


What are sessions in servlets?

578


What is a servlet context object?

628


How to get the actual path of servlet in server?

741


Why the container loads server at the application startup and how?

585


What is Servlets and explain the advantages of Servlet life cycle?

585


What is servlet invoker?

602


Explain session tracking and its importance?

548