Thanks guys for helping me out. All I was missing was to add the
defaultInterceptor in the interceptor stack. It works now as expected.
Thanks,
Nikul
2011/6/7 Jeff Black
> Hey Nikul.
>
> Double-check your interceptor stack. It is only composed of your session
> interceptor.
>
> Jb
>
> Nikul S
Hey Nikul.
Double-check your interceptor stack. It is only composed of your session
interceptor.
Jb
Nikul Suthar wrote:
>Hi There,
>
>I'm pretty new to using Struts 2 for developing a web application. So I
>would be very thankful if someone can clear out this roadblock for me.
>
>I'm trying
Did you mean to have only one interceptor in your stack?
You stack has only one interceptor and none which invokes the validate()
method. Perhaps you can try having your stack like this:
OR better soln is
You can copy over the default stack and
In your interceptor, you're replacing the logic from the
DefaultWorkflowInterceptor with your own. What you really want to do is
perform your work, then allow it to do it's job. So, instead of return
invocation.invoke();, try return super.intercept(invocation); and see if
that does more what you
4 matches
Mail list logo