Servlets Interview Questions
Questions Answers Views Company eMail

How do we translate jsp?

578

Explain mvc pattern.

594

What is the difference between context parameter and context attribute?

533

What are the life cycle methods of a servlet?

593

What is the difference between a generic servlet and http servlet?

525

Which exception is thrown if the servlet is not initialized properly?

591

What do you mean by mime type?

553

Explain is servlet mapping?

582

What is the difference between sendredirect() and forward() in a servlet?

528

What is the use of httpservletresponsewrapper?

534

How can you use a servlet to generate a plain text instead of html?

595

What is the servletconfig object?

534

How can you create a session in servlet?

596

Explain jsessionid?

619

Explain the steps involved in placing a servlet within a package?

572


Post New Servlets Questions

Un-Answered Questions { Servlets }

What is the process to implement doget and dopost methods?

548


What are the differences between servlet context vs servlet config?

579


Describe servlet?

580


If servlet receives multiple requests, how many objects will it create?

830


What are different ways for servlet authentication?

567






What’s the use of the servlet wrapper classes??

642


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

542


How can you use a servlet to generate a plain text instead of html?

595


What is servlet and its types?

557


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

581


What is cookie in servlet?

596


What are different Authentication options available in Servlets.

566


What is the dispatcher servlet?

516


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

549


What's the difference between authentication and authorization?

552