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

diff b/w

bakiyalakshmi dhanraj

Joined: Nov 02, 2007
Posts: 24
i need difference between normal servlet and ActionServlet?
Joe Ess

Joined: Oct 29, 2001
Posts: 9189


[How To Ask Questions On JavaRanch]
bakiyalakshmi dhanraj

Joined: Nov 02, 2007
Posts: 24
i need explanation?
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
javax.servlet.Servlet is an interface defining the basic contract of a servlet and is not specific to the HTTP protocol.

javax.servlet.http.HttpServlet is the HTTP-specific implementation of the servlet interface used as the superclass to most any Servlet written for a common web application.

org.apache.struts.action.ActionServlet extends javax.servlet.http.HttpServlet and is the main controller servlet for the Struts 1 Framework. It's just like any other servlet. In a Struts 1 application, this is the only servlet in the application. It then dispatches to other classes set up in the struts-config.xml file to do the work.

Consultant, Sima Solutions
I agree. Here's the link:
subject: diff b/w
It's not a secret anymore!