Servlets Interview Questions
Questions Answers Views Company eMail

What's the difference between servlets and applets?

777

What's the servlet interface?

835

Given the request path below, which are context path, servlet path and path info?

774

When a servlet accepts a call from a client, it receives two objects. What are they?

1000

What is java servlet session?

739

What's the advantages using servlets than using cgi?

741

Can filter be used as request or response?

742

request parameter how to find whether a parameter exists in the request object?

790

What do you mean by httpservlet and how it is different from the genericservlet?

756

What is the use of httpservletrequestwrapper and httpservletresponsewrapper?

783

How do you create a cookie using servlet?

853

Why doesn’t a servlet include main()?

793

Write a simple servlet program to print the contents of html.

804

Why do we use sendredirect() method?

753

Explain the servlet filter.

741


Post New Servlets Questions

Un-Answered Questions { Servlets }

What exactly is a servlet?

726


What is servlet? Explain

792


How to get the actual path of servlet in server?

980


What are the different session tracking techniques?

966


What are the supporting protocol by HttpServlet ?

883


How do you deal property files in servlet?

808


What is the inter-servlet communication?

935


What is the use of servlet wrapper classes?

904


What is servlet used for?

902


What is cgi?

789


What is java servlet?

816


What exactly are the functions of servlet?

824


What do you mean by singlethreadmodel interface?

808


What are the phases of a servlet life cycle?

854


Explain the difference between jsp and servlet?

789