File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet" Watch "servlet" New topic


ritesh srivastav

Joined: Nov 30, 2012
Posts: 8
servlet is class or interface??expain your answer.
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Welcome to CodeRanch ritesh srivastav

do you mean javax.servlet.Servlet or javax.servlet.http.HttpServlet ?
ritesh srivastav

Joined: Nov 30, 2012
Posts: 8
Emanuel Kadziela
Ranch Hand

Joined: Mar 24, 2005
Posts: 186
gurunath pai

Joined: Dec 10, 2012
Posts: 13

It is a interface, it is implemented for protocol specific. eg : HttpServlet fro HTTP protocal.

“Anyone who has never made a mistake has never tried anything new.” ― Albert Einstein
Divya Chandel
Ranch Hand

Joined: Jun 09, 2011
Posts: 46

see this-

jQuery in Action, 2nd edition
subject: servlet
Similar Threads
PDF Download not working in Production.
Fetch 10K rows from table
JSF - printing .txt file content