This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Interceptors" Watch "Interceptors" New topic
Author

Interceptors

Tarun Oohri
Ranch Hand

Joined: Feb 20, 2013
Posts: 172
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.
Thanks!!!
Regards
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8836
    
    7

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


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
Don't get me started about those stupid light bulbs.
 
subject: Interceptors
 
Similar Threads
Struts 2 InterceptorStack Issues
Replacing an Interceptor in the Default Stack
Struts 2 file upload tag type allowed error
Interceptor issue in Struts 2
Null pointer Exception when insert new record to database using struts2 and hibernate3