File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "diff b/w" Watch "diff b/w" New topic
Author

diff b/w

bakiyalakshmi dhanraj
Greenhorn

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

Joined: Oct 29, 2001
Posts: 8707
    
    6

javax.servlet.Servlet
org.apache.struts.action.ActionServlet


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
bakiyalakshmi dhanraj
Greenhorn

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.


Merrill
Consultant, Sima Solutions
 
Don't get me started about those stupid light bulbs.
 
subject: diff b/w