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?

535

What are the life cycle methods of a servlet?

595

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

526

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

594

What do you mean by mime type?

556

Explain is servlet mapping?

583

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

529

What is the use of httpservletresponsewrapper?

537

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

597

What is the servletconfig object?

534

How can you create a session in servlet?

599

Explain jsessionid?

622

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

573


Post New Servlets Questions

Un-Answered Questions { Servlets }

What do you mean by request dispatcher in servlet?

614


How httpservlet is different from the genericservlet?

568


Which event is fired at the time of session creation and destroy?

879


What is servlet and how it works?

508


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

535






How does tomcat servlet container work?

592


What is httpservlet and how it is different from genericservlet?

612


How to rectify errors in java servlet while compilation?

523


How would you create deadlock on your servlet?

624


What is difference between GenericServlet and HttpServlet?

571


What is new in ServletRequest interface ? (Servlet 2.4)

578


What are the disadvantages of storing session state in cookies?

631


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

580


Is servlet a server side scripting language?

555


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

658