What is Servlet?

Answer Posted / sunil

servlets r used to design the server side applications that
work on clint server architecture

there are two type of servlet

1. Generic Servlet : extends javax.servlet.*
2. HttpServlet : extends javax.Servlet.HttpServlet.*

we should import these two packages

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do I need java on my computer?

529


What are the advantages of autoboxing?

540


Can you sort a list in java?

533


What is the difference between multitasking and multithreading in Java

728


Can we sort hashmap in java?

534






Why should we use singleton pattern instead of static class?

465


What is the final method?

606


What are autoboxing and unboxing? When does it occur?

536


What does a method signature consist of?

513


What is the importance of finally block in exception handling?

545


Differentiate between overriding and overloading cases?

597


Difference between a process and a program?

619


What is the difference between stored procedure & function?

553


Can we override the static method?

580


What are static methods?

578