waht is the main diference b/w servelts and JSP ?

Answer Posted / adnan zaman

In servelts html code write with print.out statement every line it is not easy but in jsp html code simple and easy write jsp better then servlets

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define the lifecycle for executing a jsp page.

582


Name the packages that work with servlet?

535


How to get the IP address of client in servlet?

618


Describe the phases of servlet lifecycle?

619


Which httpsession object is used to view and manipulate information about a session?

716






What’s the difference between genericservlet and httpservlet?

515


What are Servlets?

586


What is the importance of init() method in Servlet ?

584


What is api in servlet?

509


Why doesn’t a servlet include main()?

550


What is the purpose of requestdispatcher interface?

603


Can we use the constructor, instead of init(), to initialize servlet?

572


How can you push data from an Applet to a Servlet?

597


What are session variable in servlets?

548


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

551