You can apply specific interceptor stack for the action using interceptorRef
annotations.
For ex. Put the below annotation above the method for which you want to apply
paramsPrepareParamsStack stack,
@Action(value="action1",
interceptorRefs=@InterceptorRef("paramsPrepareParamsStack "))
For more
Hi Eric,
maybe this will help:
Best regards,
Paweł Wielgus.
2012/3/23 Eric Lentz :
> Anyone know of a way, in Struts 2, to assign an action that matches on
> anything in the URL, including slashes? This would be a catch-all, if no
> other action specification is more specific.
>
> I co
How are you making the request? What's being returned to the ajax
call--json?
Dave
(pardon brevity and typos, on cell)
On Mar 23, 2012 4:05 PM, "N P S Naidu" wrote:
> hi,
> Am using struts1.1 and ajax in my application development. I have send
> asynchronous request to struts action class and
hi,
Am using struts1.1 and ajax in my application development. I have send
asynchronous request to struts action class and got the response(ajax
response). Now i have to get the value of one property from the struts
formbean object. How to retrieve the required property from ajax response?
Here
Anyone know of a way, in Struts 2, to assign an action that matches on
anything in the URL, including slashes? This would be a catch-all, if no
other action specification is more specific.
I configured:
If I have http://server/context/foo
but it will not match on http://server/context/foo/bar
I am using struts 2.3.1.2
I have an action class called Students with 2 methods, list and save.
Using the convention plugin and bang notation, I want the interceptor stack
'basicStack' to fire for method list and the interceptor stack
'paramsPrepareParamsStack' to fire for save.
Is this possib
HI,
I have extended the ScopeModelDrivenInterceptor to reset the model in session
based on some criteria. I have overridden the resolveModel method of
ScopeModelDrivenInterceptor as below.
I am using this for wizard flow.
protected Object resolveModel(ObjectFactory factory, ActionContext
actio
7 matches
Mail list logo