Servlets Interview Questions
Questions Answers Views Company eMail

Explain the differences between jsp and servlet.

530

Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?

536

Define the servlet mapping.

540

When should you prefer to use doget() over dopost()?

655

What is http servlet? Explain with the help of an example.

570

Why are http servlets used in programming?

537

What is the process to implement doget and dopost methods?

536

Explain get and post.

639

What are the objects involved when a servlet receives a call from client?

539

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

534

What is the use of java servlet api?

588

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

570

explain the advantages of servlet life cycle?

544

Explain the custom jsp tags and the beans.

610

Write a program to show the functionality of doget and dopost method?

640


Post New Servlets Questions

Un-Answered Questions { Servlets }

What are the differences between servlet context vs servlet config?

570


What is the difference between Difference between doGet() and doPost()?

748


What if we pass negative value in load-on-startup?

790


How the servlet is loaded?

588


When should you prefer to use doget() over dopost()?

655






Explain the difference between servletconfig and servletcontext in servlet?

559


What are the life cycle methods of a servlet?

583


What do you mean by singlethreadmodel interface?

569


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

599


What do you understand by mime type?

554


How can the referrer and the target urls be used in servlet?

520


Define context initialization parameters.

564


What is dispatcher servlet?

548


When servlet is loaded?

581


Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?

536