Servlets Interview Questions
Questions Answers Views Company eMail

What is the structure of the http response

668

What’s the difference between sendredirect and forward methods

561

What are the annotations used in servlet 3?

571

What is the disadvantage of cookies?

572

What is load-on-startup in servlet?

580

What is difference between cookies and httpsession?

544

What is the use of attribute in servlets?

540

Which event is fired at the time of setting, getting or removing attribute from application scope?

606

What are the life-cycle methods for a servlet?

545

How can we upload the file to the server using servlet?

539

What is war file?

576

How to create war file?

607

Can you call a jsp from the servlet?

544

What is the use of welcome-file-list?

567

What if we pass negative value in load-on-startup?

797


Post New Servlets Questions

Un-Answered Questions { Servlets }

What is the difference between the http servlet and generic servlet?

599


How do you configure a centralized error handler in servlets?

531


What are the types of servlet?

662


Explain the different ways for servlet authentication?

527


Can you use javascript in servlets?

596






Can servlet have a constructor ?

592


What are important features of Servlet 3?

589


Elucidate servlet attributes and its scope?

567


What do you mean by httpservlet?

560


What are its drawbacks of cgi?

563


explain the advantages of servlet life cycle?

553


Difference between java beans & servlets?

587


How can you start a jta transaction from a servlet deployed on jboss?

671


what do you understand by url rewriting?

542


What do you mean by the servlet chaining?

544