Servlets Interview Questions
Questions Answers Views Company eMail

How to read request headers from servlets?

560

Write a program to show the functionality of servlets.

548

How servlets are deployed in java?

540

What are the advantages of servlets over traditional cgi?

618

What is the life-cycle of servlets?

626

Tell us something about servletconfig interface.

574

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

556

What are the key methods that are involved in processing of http servlets?

618

How can we include static files in the jsp page?

601

Explain the servlet context.

594

How can the referrer and the target urls be used in servlet?

524

How can the session in servlet be destroyed?

635

Define declaration.

608

Define context initialization parameters.

564

What is the procedure for initializing a servlet?

541


Post New Servlets Questions

Un-Answered Questions { Servlets }

What are the life cycle methods of the servlet?

570


How do servlets work?

528


How do we share data using 'getservletcontext ()?

535


Whether we can get deadlock situation in servlets?

570


What is the use of httpservletresponsewrapper?

524






Is servlet thread safe?

513


Who is responsible to create the object of servlet?

710


why we should override only no-agrs init() method.

671


What are the servlet events?

583


Can you explain in detail 'javax.servlet' package?

537


What is difference between cookies and httpsession?

542


What are the phases of the servlet life cycle?

597


What is URL Encoding?

613


What is cookie? Why is cookie used?

574


What are some disadvantages of storing session state in cookies?

582