Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

difference between RequestProcessor and ActionServlet

 
rai talari
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone post the difference between RequestProcessor and ActionServlet.struts 1.1 addresses ActionServlet as Controller struts 1.2.7 addresses RequestProcessor as controller
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!