| Author |
Difference between RequestProcessor(Struts1) and Interceptors(struts2)?
|
Nagaraj Shivaklara
Ranch Hand
Joined: Dec 16, 2008
Posts: 72
|
|
Hi,
Can you please let me know the major differences between them? is both perform the same?
Thanks
Nagaraj
|
Thanks n Regards,
Nagaraj S K
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8290
|
|
No. An interceptor in Struts 2 makes it possible to call code before an Action is invoked. See here.
The class in Struts 2 that has the same function as RequestProcessor is org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8290
|
|
Santhosh Kalisamy, Your post was moved to a new topic.
|
 |
 |
|
|
subject: Difference between RequestProcessor(Struts1) and Interceptors(struts2)?
|
|
|