Servlets Interview Questions
Questions Answers Views Company eMail

What is the structure of the http response

910

What’s the difference between sendredirect and forward methods

818

What are the annotations used in servlet 3?

756

What is the disadvantage of cookies?

766

What is load-on-startup in servlet?

795

What is difference between cookies and httpsession?

771

What is the use of attribute in servlets?

766

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

862

What are the life-cycle methods for a servlet?

730

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

744

What is war file?

773

How to create war file?

798

Can you call a jsp from the servlet?

738

What is the use of welcome-file-list?

755

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

1030


Post New Servlets Questions

Un-Answered Questions { Servlets }

What is servlet api used for conneting database?

948


What do you mean by scope object and what are its types?

781


Define the life cycle of a servlets.

784


How can a servlet be used to generate plain text instead of html?

741


If a servlet is not properly initialized, what exception may be thrown?

853


When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?

763


What is meant by a servlet?

789


What are the different session tracking techniques?

947


Which HTTP method is non-idempotent?

804


What is Request Dispatcher?

1066


how the HTML data stored in web server?

2190


What is Client-Server Computing?

2082


Define declaration.

807


Explain the difference between a web server and a web container?

716


What are the different methods involved in generic servlet?

803