aspose file tools*
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
Author

servlet

ritesh srivastav
Greenhorn

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
Greenhorn

Joined: Nov 30, 2012
Posts: 8
javax.servlet.Servlet
Emanuel Kadziela
Ranch Hand

Joined: Mar 24, 2005
Posts: 186
http://docs.oracle.com/javaee/6/api/javax/servlet/Servlet.html
gurunath pai
Greenhorn

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-
http://docs.oracle.com/javaee/6/api/javax/servlet/Servlet.html
and
http://docs.oracle.com/cd/E17802_01/products/products/servlet/2.1/api/javax.servlet.Servlet.html


Divya
SCJP1.6
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlet