Servlets Interview Questions
Questions Answers Views Company eMail

What is meant by session? Tell me something about httpsession class?

819

What is called a session?

878

What is java servlet?

832

What is httpservlet and how it is different from genericservlet?

857

Why servlet is mostly used?

996

Difference between httpservlet and generic servlets?

877

Who is responsible for writing a constructor?

1056

What is the default http method in the servlet?

1040

How do you deal property files in servlet?

827

what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?

804

What is the element?

814

What is servlet interface?

979

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

842

What are some disadvantages of storing session state in cookies?

821

What is the servlet?

858


Post New Servlets Questions

Un-Answered Questions { Servlets }

Why do we need servlet filter?

836


What are the difference between RMI and Servlets?

1281


Which interface must be implemented by all servlets?

1065


What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?

877


A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?

856


What are common tasks performed by Servlet Container?

1006


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

842


How can we refresh automatically when new data has entered the database?

872


Why is httpservlet declared abstract?

833


How can an existing session be invalidated?

915


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

844


Explain the different ways for servlet authentication?

814


How will two or three servlets interact or communicate with each other?

1189


Which protocol will be used by browser and servlet to communicate

803


Explain the custom jsp tags and the beans.

827