Servlets Interview Questions
Questions Answers Views Company eMail

What is meant by servlet? What are the parameters of the service method?

570

What are the different mode that servlets can be used?

549

If my browser does not support cookie, and my server sends a cookie instance what will happen?

647

What is the difference in between the httpservlet and generic servlet?

603

How do you invoke a servelt?

620

What are all the advantages of servlet over cgi?

603

What is string tokenizer?

625

Difference between doget and dopost?

679

What are the types of servlet?

662

What are the types of servlets? Explain

672

Explain servlet life cycle?

613

How to commuincate between an applet and a servlet?

587

What is the capacity the doget can send to the server?

569

What is the type of method for sending request from http server?

594

What do you mean by default initialization in java servlet?

604


Post New Servlets Questions

Un-Answered Questions { Servlets }

what do you understand by url rewriting?

546


When a client request is sent to the servlet container, how does the container choose which servlet to invoke?

571


Define declaration.

616


What is ServletContext object?

641


What is servlet in simple terms?

563






How a servlet is unloaded?

589


Which are the different ways you can communicate between servlets?

522


What are the drawbacks of cgi?

570


Explain servlet.

566


how to link html file to sevlet file.one name is textbox,c&c++ is cheakbox,bc&mca is radio button and one submit buttonis ok why in this programme use in servelt file

2079


What are the jobs performed by servlets?

581


What is java servlet?

606


Hello, My project requirement is like I need to create a web page using MVC pattern. I hava a bean class, jsp page, servlet, service and dao. My jsp has two fields. One is dropdown list. The option values has to get populated from the database table. The other one is a text box and its value has to come from database table. As of now I have defined the fields in bean class, got the values from database using arraylists in dao class and I called this from service class. Can anyone please tell me the workflow of how the servlet will get this arraylist and populate the arraylist values as dropdown options in jsp page? Also I would like to know the role of bean class in MVC pattern? Thanks in advance!

1831


Why the concept of single thread model interface is used?

549


what is servlet chaining?

623