Servlets Interview Questions
Questions Answers Views Company eMail

Explain the methods in Generic and HTTP Servlets?

2 5407

What is the protocol used by Server & Client?

2 4892

What is the role of the webserver?

4 21416

What is the use of Servlets?

Infosys,

7 23441

What are setComment and getComment methods in Cookies?

2 4727

What are setSecure() and getSecure() methods in Cookies?

1 8305

Name the webserver that is used to run Servlets?

5 6918

What is use of parseQueryString?

1 4771

What methods do we use in Servlet to Applet communication?

Infosys,

3 7628

What is with the javax.servlet package naming?

2 5319

When the methods init() and Distroy() will be called?

2 5533

init() method of servlet loaded by?

3 5248

What is the need of session tracking in HttpServlet ?

3 10995

In servlets, Why do we need both GET and POST method implementations?

IBM,

3 11563

Why setMaxAge() and getMaxAge() methods are used in Cookies?

2 10183


Post New Servlets Questions

Un-Answered Questions { Servlets }

Can we refresh servlet in client and server side automatically?

578


Explain the concept of ssi ?

573


Explain servlet life cycle?

593


Which event is fired at the time of session creation and destroy?

838


Explain the servlet context.

583






Which exception is thrown if servlet is not initialized properly?

657


What are life cycle methods of a servlet?

569


Explain their methods? Tell me their parameter names also have you used threads in servlet?

562


Can we override destroy method in servlet?

481


What is life cycle of Servlet?

588


How we can create war file in servlet?

642


Explain the servlet filter.

523


What is cookie in servlet?

570


What do you mean by url pattern in servlet?

611


How do you run a servlet?

519