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 difference between RequestProcessor and ActionServlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "difference between RequestProcessor and ActionServlet" Watch "difference between RequestProcessor and ActionServlet" New topic
Author

difference between RequestProcessor and ActionServlet

rai talari
Ranch Hand

Joined: Jan 31, 2006
Posts: 34
can anyone post the difference between RequestProcessor and ActionServlet.struts 1.1 addresses ActionServlet as Controller struts 1.2.7 addresses RequestProcessor as controller


nothing is impossible in the world even the word impossible sounds as I'M'Possible.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The ActionServlet is the main controller object. It gets control as soon as a user requests "myAction.do". The RequestProcessor is a helper class instantiated and used by ActionServlet to process each request that comes in. The RequestProcessor actually does most of the work involved when a request comes in and a response goes out.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: difference between RequestProcessor and ActionServlet