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
8, 2011 10:03 AM
To: user@struts.apache.org
Subject: Validate method not working in Action after using Interceptor
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
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
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 to write some custom validation code in method *public void
validate()* in the Action class. I also created an interceptor extending
5 matches
Mail list logo