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 17335

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

IBM,

7 35968

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

2 3997

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

6 8839

difference between forward and sendredirect

Accenture,

6 10896

what is the difference between do get/dopost

9 12508

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

7 11820

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

IBM,

1 4031

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

HCL,

6 21647

when will cookie information destroy?

7 9627

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

SolutionNET,

11 41172

i am bca student,give me suggest for bright future

BSNL, Future Considerations,

18 31143

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

Ericsson,

9 22082

describe all about advanced java with presentation

Sun Microsystems,

4 6851

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

TCS,

5 24048


Post New Servlets Questions

Un-Answered Questions { Servlets }

Why filter is used in servlet?

632


Is java servlet still used?

686


How does Cookies work in Servlets?

761


How to get the path of servlet in the server?

623


How would you create deadlock on your servlet?

720






How can we invoke another servlet in a different application?

800


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

773


What is session?

719


What is the use of httpservletrequestwrapper?

695


What do you mean by servlet context?

717


What is the difference between Server and Container?

726


Explain the difference between jsp and servlet?

672


Explain the concept of ssi ?

690


What is the workflow of a servlet?

805


What is the use of httpservletrequestwrapper and httpservletresponsewrapper?

635