Servlets Interview Questions
Questions Answers Views Company eMail

what is servlet life cycle?

Inforica,

3 8904

What advantages do servlets have over CGI programs?

5 12622

What is difference between Forward() and sendRedirect() methode?

Polaris,

14 26420

How ThreadSafe page attribute will be working in Servlet as well as in JSP?Automatically ThresdSafe is true in JSP so service method will be destroy in each and every request or not?so how thresd will handle srevice method?

AZTEC,

1 5000

what is the difference between Servlet and JSP?Advantage of JSP over Servelt?Any concept present in JSP which we cant implement in Servlet?

ABC, Apere, AZTEC, CTS, CybAge, iFlex, Impact Systems, Sara, TCS,

31 135960

Difference between Include, Forward and sendRedirect in Servlet?

AZTEC, KPIT, TCS,

7 69788

Directive Include and Action Include how both are working in JSP, what is the difference between both?In which suituation we have to choose these elements?

AZTEC,

4 8906

Which method the Servlet container call to create the instance of the servlet?

emc2, JK Technosoft,

16 22500

1.HttpSession 2.Hidden fields 3.URL Rewriting these primitive type of Session maintainance. What is the other type of process that could help to maintain the Session? pls Explain the process if u know?

OnMobile,

5 11131

can i call init() method in destroy() method of servlset. ?

IBM,

5 10928

can i call destroy() method in init() method of servlet

Ericsson, IBM,

9 21522

What is the difference between an applet and a servlet?

GCEW, Miracle Solutions,

15 46711

What is use of parseQueryString ?

1 5527

If you want to modify the servlet,will the Webserver need to be ShutDown ?

9 10341

How do you track a user session in servlets?

3 6922


Post New Servlets Questions

Un-Answered Questions { Servlets }

What is a servlet engine?

535


What are the common methods that are included in the http servlet class?

570


What if you need to span your transaction across multiple servlet invocations?

568


What are the drawbacks of cgi?

556


What is load-on-startup in servlet?

576






How to get the actual path of servlet in server?

726


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

576


How to create war file?

605


What are the features added in Servlet 2.5?

757


What is the difference between 2 types of servlets?

630


What do you mean by servlet context?

593


Can you send an authentication error from a servlet?

508


Describe the phases of servlet lifecycle?

619


When a servlet accepts a call from a client, it receives two objects. What are they?

746


What is servlet lazy loading?

681