This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Originally posted by siva kumar: What are the differences bw RequestProcessor and ActionServlet.
The advantages of RequestProcessor over ActionServlet.
Well, I think, the answer is in the extensible behaviour. You can have the same ActionServlet and inherit the RequestProcessor in your own class to modify the behaviour to what your application requires. I think thats the reason for separating teh functionality of RequestProcessor and ActionServlet.
As mentioned above its true that RequestProcessor is extensibility over actionservlet while in struts 1.0 it was only actionservlet later in 1.1 many fuctions in actionservlte are moved to requestprocessor and they had provided some comcept ofmodules and each module will have one Request Processor ......................
The big advantage of this is that u can override a few methods of request priocessor for a particular module only