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 16697

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

IBM,

7 35391

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

2 3802

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

6 8404

difference between forward and sendredirect

Accenture,

6 10548

what is the difference between do get/dopost

9 11958

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

7 11343

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

IBM,

1 3855

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

HCL,

6 21209

when will cookie information destroy?

7 9217

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

SolutionNET,

11 40396

i am bca student,give me suggest for bright future

BSNL, Future Considerations,

18 30097

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

Ericsson,

9 21492

describe all about advanced java with presentation

Sun Microsystems,

4 6571

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

TCS,

5 23636


Post New Servlets Questions

Un-Answered Questions { Servlets }

What is new in ServletRequest interface ? (Servlet 2.4)

578


What are life cycle methods of a servlet?

590


Why do we need servlet filter?

574


What is called Session Tracking?

604


What is Request Dispatcher?

806






What do you mean by httpservlet and how it is different from the genericservlet?

542


Explain the servlet filter.

542


What are the advantages of Servlet over CGI?

670


Why the concept of single thread model interface is used?

556


What is a cookie What is the difference between session and cookie

598


how many jsp scripting elements are there and what are those?

542


What do you mean by annotations in servlet?

588


What are the advantages of cookies?

632


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

629


What is httpservlet class?

542