Win a copy of The Java Performance Companion this week in the Performance 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic