Servlets Interview Questions
Questions Answers Views Company eMail

What do you mean by cgi?

518

How to get the path of servlet in the server?

517

Explain the working of service() method of a servlet.

483

Can you send an authentication error from a servlet?

499

Explain web container.

551

When jsessionid is created?

587

What is the use of httpservletrequestwrapper?

569

How do you get the ip address of the client in servlet?

536

Can you refresh servlet in client and server-side automatically?

596

What do you mean by the servlet chaining?

524

Can we fetch the attributes related to a servlet on a different servlet?

607

How is an application exception handling is done using a servlet?

514

What do you mean by cgi and what are its drawbacks?

508

What do you mean by interservlet communication?

564

What is the main purpose of java servlets?

559


Post New Servlets Questions

Un-Answered Questions { Servlets }

What is servlet and its types?

538


How do you configure a centralized error handler in servlets?

513


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

645


Is java servlet still used?

566


Name the different ways of session tracking.

552






How can we refresh automatically when new data has entered the database?

599


Why is init() method is used in servlets?

535


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

491


How servlets are deployed in java?

522


What is the procedure of invoking different servlet in a different application?

544


What is servlet container. how it works?

584


How can we invoke another servlet in a different application?

686


What are all the protocols supported by httpservlet?

629


Explain the custom jsp tags and the beans.

599


What are all the advantages of servlet over cgi?

584