aspose file tools*
The moose likes Struts and the fly likes RequestProcessor vs ActionServlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "RequestProcessor vs ActionServlet" Watch "RequestProcessor vs ActionServlet" New topic
Author

RequestProcessor vs ActionServlet

siva kumar
Ranch Hand

Joined: Sep 03, 2004
Posts: 86
What are the differences bw RequestProcessor and ActionServlet.

The advantages of RequestProcessor over ActionServlet.
Aneesha Singh
Ranch Hand

Joined: Jan 14, 2002
Posts: 47
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.
sreenath reddy
Ranch Hand

Joined: Sep 21, 2003
Posts: 415
hi

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RequestProcessor vs ActionServlet