Servlets Interview Questions
Questions Answers Views Company eMail

How do we translate jsp?

700

Explain mvc pattern.

705

What is the difference between context parameter and context attribute?

648

What are the life cycle methods of a servlet?

708

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

626

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

710

What do you mean by mime type?

671

Explain is servlet mapping?

694

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

650

What is the use of httpservletresponsewrapper?

649

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

742

What is the servletconfig object?

655

How can you create a session in servlet?

715

Explain jsessionid?

737

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

686


Post New Servlets Questions

Un-Answered Questions { Servlets }

What is pure servlet?

808


What are the ways to handle multi-threading in servlets?

721


Explain their methods? Tell me their parameter names also have you used threads in servlet?

703


What are the differences between the servletconfig interface and the servletcontext interface?

715


What is the use of httpservletrequestwrapper?

713






How do we go with database connection and log4j integration in servlet?

823


What is ServletConfig object?

719


What is war file?

700


What is the difference between Servlets and Applets?

664


Why servlet is used as controller ? Not JSP? I want complete explation?

793


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

770


What is servlet instance?

655


List out difference between a JavaBean from a Servlet?

671


What is the advantage of Servlets when compared with other server side technologies?

1989


What is servlet mapping?

692