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 16688

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

IBM,

7 35380

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

2 3795

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

6 8400

difference between forward and sendredirect

Accenture,

6 10544

what is the difference between do get/dopost

9 11954

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

7 11339

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

IBM,

1 3853

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

HCL,

6 21192

when will cookie information destroy?

7 9212

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

SolutionNET,

11 40370

i am bca student,give me suggest for bright future

BSNL, Future Considerations,

18 30070

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

Ericsson,

9 21469

describe all about advanced java with presentation

Sun Microsystems,

4 6566

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

TCS,

5 23631


Post New Servlets Questions

Un-Answered Questions { Servlets }

Can servlet have a constructor ?

595


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

654


What is the difference between using getSession(true) and getSession(false) methods?

571


What are the difference between RMI and Servlets?

1050


How does tomcat servlet container work?

592






What is a web container and what is its responsibility?

531


What are the benefits of using servlet over cgi?

580


How to commuincate between an applet and a servlet?

592


What are the differences between forward() method and sendredirect() methods?

549


How can the session in servlet can be destroyed?

711


Why servlet is mostly used?

745


What is the difference between the include() and forward() methods?

571


What are different ways for authentication of servlet?

527


Define the lifecycle for executing a jsp page.

595


What is servlet and its types?

555