This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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


Win a copy of Head First Android this week in the Android forum!
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
 
Consider Paul's rocket mass heater.
 
subject: difference between RequestProcessor and ActionServlet
 
It's not a secret anymore!