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 / sukanta kumar apnigrahi

servlet is a web component run in side server.it is easy to
write a application program ,it is advance version of html
program. we can't write html prog. in a servlet program.
JSP is a Java server page which is used to write a easy
and reliable java program.we can add HTML program in JSP.
It is slower than servlet.

Is This Answer Correct ?    23 Yes 29 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between jsp and servlet life cycle?

785


How to get the actual path of servlet in server?

821


What is a server side include (ssi)

643


Can we refresh servlet in client and server side automatically?

660


Explain the different ways for servlet authentication?

643






What is difference between cookies and httpsession?

640


What is context in servlet?

644


What do you mean by cgi in servlet?

714


How to get the server information in a servlet?

765


What is a servlet context object?

708


What are all the ways for session tracking?

678


Which are the different ways you can communicate between servlets?

623


How can you start a jta transaction from a servlet deployed on jboss?

759


What are different ways for servlet authentication?

644


What are the mechanisms used by a servlet container for maintaining session information?

660