Servlets Interview Questions
Questions Answers Views Company eMail

Which is better approach among four(HttpSession,cookie,URL Rewriting, Hidden Fields) Session Tracking technic's ? Why ?

L&T,

3 12792

Explain how does JSP handle run-time exceptions?

BirlaSoft,

566

Explain how to improve Servlet Performance?

BirlaSoft,

578

If some new data has entered the database, explain how can a servlet refresh automatically?

BirlaSoft,

709

What is the importance of init() method in Servlet ?

BirlaSoft,

575

Explain Action Servlet?

Cap Gemini,

599

How the JSP file will be executed on the Server side?

Cap Gemini,

626

Why servlet is used as controller ? Not JSP? I want complete explation?

Tech Mahindra,

629

What is lazy loading and what is Generic Servlet Class?

576

Describe in brief RequestDespatcher?

Tech Mahindra,

571

What are the uses of servlet and what is servlet chaining?

538

what is servlet chaining?

603

What are the uses of servlet

613

What is servlet attributes and their scope?

577

Write a servlet to upload file on server.

579


Post New Servlets Questions

Un-Answered Questions { Servlets }

Explain web container.

551


How can we invoke another servlet in a different application?

686


What is load-on-startup in servlet?

568


What is the requirement of servlet config and servlet context implemented and how are they implemented?

520


What do you mean by deployment descriptor?

531






What are the common methods that are included in the http servlet class?

552


What is servlet and list its types?

523


What are the differences between servlet context vs servlet config?

558


What are all the advantages of servlet over cgi?

584


What is the functionality of actionservlet and requestprocessor?

575


Explain the lifecycle of a servlet?

482


Write a program to show the functionality of doget and dopost method?

629


What is the use of request dispatcher interface?

551


What's the advantages using servlets than using cgi?

539


What is pure servlet?

676