File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Interceptors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Interceptors" Watch "Interceptors" New topic


Tarun Oohri
Ranch Hand

Joined: Feb 20, 2013
Posts: 189
Hi Everyone
I want to know the difference between actionMappingParams and params Interceptor.
Why actionMappingParams is placed before the params interceptor in the default-stack.
Joe Ess

Joined: Oct 29, 2001
Posts: 9189

See the documentation for ActionMappingParametersInteceptor:
This interceptor sets all parameters from the action mapping, for this request, on the value stack. It operates exactly like ParametersInterceptor, only the parameters come from the ActionMapping, not the ActionContext.getParameters() method.

See also ParametersInterceptor

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Interceptors
It's not a secret anymore!