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

Answer Posted / nagababu

By using jsp we can seperate presentation logic from
bussinesslogic

By Using Servlets combine presentation logic and business
logic.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which method is called when reference variable is passed in system.net?

1820


What is api in servlet?

511


Can you use javascript in servlets?

596


Explain in brief the directory structure of a web application?

559


What are the advantages of servlets over traditional cgi?

618






How to notify an object in session when session is invalidated or timed-out?

624


What is the difference between the include() and forward() methods?

565


How many objects of a servlet is created?

782


How do you create a cookie using servlet?

575


What are the different methods involved in generic servlet?

550


What is called a session?

613


Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?

761


What is the functionality of actionservlet and requestprocessor?

588


Can you create a deadlock condition on a servlet?

585


Servlet is pure java object or not?

712