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 18028

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

IBM,

7 36544

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

2 4199

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

6 9296

difference between forward and sendredirect

Accenture,

6 11338

what is the difference between do get/dopost

9 13027

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

7 12281

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

IBM,

1 4207

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

HCL,

6 22118

when will cookie information destroy?

7 10056

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

SolutionNET,

11 41809

i am bca student,give me suggest for bright future

BSNL, Future Considerations,

18 32010

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

Ericsson,

9 22812

describe all about advanced java with presentation

Sun Microsystems,

4 7205

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

TCS,

5 24506


Post New Servlets Questions

Un-Answered Questions { Servlets }

Explain the difference between generic servlet and http servlet?

741


Explain how to improve Servlet Performance?

830


Why do we use sendredirect() method?

750


Explain the differences between jsp and servlet.

735


Why jsp is better than servlet?

749


Why servlet is mostly used?

968


Why doesn’t a servlet include main()? How does it work?

882


Why the concept of single thread model interface is used?

738


What is the difference between CGI and Servlet?

797


What are sessions in servlets?

795


What is the difference between the servlets and cgi programs?

743


What is a web application and what is it’s directory structure?

821


What is the difference between portlet and servlet?

717


What do you mean by interservlet communication?

791


What is Servlets and explain the advantages of Servlet life cycle?

816