Servlets Interview Questions
Questions Answers Views Company eMail

Can we write a constructor for a Servlet class ? if yes how ? if no why not ?

10 18168

can we override service method in my servlet class..?? if yes or no why ??

IBM,

7 36634

can anybody send me j2ee softwares such as tomcat,weblogic server ,netbeans

2 4243

can it possible to validate form field before execution of a servlet service method if yes how??

6 9392

difference between forward and sendredirect

Accenture,

6 11406

what is the difference between do get/dopost

9 13141

Is there any differance b/w getting servlet context from servlet config and session? if yes then what is that?

7 12384

i need connection pooling code.....from harpreet.your@gmail.com

IBM,

1 4243

What is forward() and include() of servlets RequestDispatcher interface?

HCL,

6 22185

when will cookie information destroy?

7 10142

can u give some realtime example in ploymorphism? and inheritance?

SolutionNET,

11 41917

i am bca student,give me suggest for bright future

BSNL, Future Considerations,

18 32159

Can we call destroy() method inside the init() method? What happens when we do so?

Ericsson,

9 22925

describe all about advanced java with presentation

Sun Microsystems,

4 7267

what is the control flow in servlet when we send a request?

TCS,

5 24593


Post New Servlets Questions

Un-Answered Questions { Servlets }

Explain the architechure of a servlet?

865


How do servlets work?

788


Why do we have servlet wrapper classes?

821


Why servlet is mostly used?

990


How do we share data using 'getservletcontext ()?

790


What is the structure of the http response

951


What is called a session?

873


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

799


What are the various ways of session supervision in servlets?

768


How to upload a file to the server using servlet?

770


What is the difference between sendredirect() and forward() in a servlet?

767


Explain the difference between jsp and servlet?

808


What are the types of servlets? Explain

954


What is a servlet engine?

777


How to read request headers from servlets?

826