Servlets Interview Questions
Questions Answers Views Company eMail

What is servlet name in web xml?

541

What are the different types of servlets?

508

What is servlet and its life cycle?

556

What is servlet in web technology?

571

What is webservlet?

526

What is http servlet in java?

552

What is the purpose of dispatcherservlet properties?

502

What is the dispatcher servlet?

503

What is the difference between portlet and servlet?

506

Is servlet thread safe?

511

What is getservletcontext?

542

Where do you define dispatcherservlet?

545

What is servlet initializer?

497

What is context in servlet?

531

How servlet is created?

532


Post New Servlets Questions

Un-Answered Questions { Servlets }

Explain the role of dispatcherservlet and contextloaderlistener.

593


What is servlet instance?

534


What are all the protocols supported by httpservlet?

642


What is a server side include (ssi)

561


I have a requirement Here we have a ResultSet object that will contain 50 records i need to print those recors in to a webpage(i.e; view according to MVC architectures that mybe servlet or jsp) . Here i need to print the records 10 per page that is 1 to 10 in page one and 11 to 20 in page two like remaining will be appeared in other pages we need to display those page numbers whenever we click on that page number we will go to that page and display 10 records like we will display 5 pages it is like this << 1 2 3 4 5 next >>

2520






What do you mean by cgi in servlet?

622


How forward () method is different from send redirect () method?

511


What is servlet looping or chaining?

647


What are the functions of Servlet container?

605


Is java servlet still used?

577


What are the differences between servlet context vs servlet config?

570


When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?

557


How can you push data from an Applet to a Servlet?

597


What is http servlet?

571


What are the difference between session and cookies in servlet? Explain

550