| 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: 8262
|
|
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
|
 |
 |
|
|
subject: diff b/w
|
|
|