• Post Reply Bookmark Topic Watch Topic
  • New Topic

difference between RequestProcessor and ActionServlet  RSS feed

 
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!