The interceptor? Which interceptor? What makes you think an interceptor
is clearing the value stack?
Dave
On Sun, Nov 20, 2011 at 2:10 PM, Srineel Mazumdar smaz19...@gmail.comwrote:
Hi,
I am creating a small struts2 application and the problem that I face is
that the inteceptor is clearing
Please enable and disable the interceptor logger1. When interceptor is
disable, I get userid/password in action, but not ,when enabled. If
possible please run the code and check
On Mon, Nov 21, 2011 at 12:56 AM, Dave Newton davelnew...@gmail.com wrote:
The interceptor? Which interceptor? What
How about you describe the code the code and behavior and post it, rather
than making us download a zip, extract it, look at it and/or run it, etc?
Btw, the comment in your PostViewInterceptor is a bit misleading; the S.o.p
will execute before the view is rendered, because it occurs before the
Apologies for posting my query in this fashion. I am a newcomer to this
group. The idea is to make a very simple Struts2 Login page. If the user
gives correct user id and password, the flow will get directed to the user
ino page where all the info will be put by user. After clicking submit, the
On Sun, Nov 20, 2011 at 2:47 PM, Srineel Mazumdar smaz19...@gmail.comwrote:
I intend to use only logger1 interceptor.
I want to enable only one interceptor ie logger1. How can I do so?
By doing what you did.
However, as I stated, this means that essentially no other S2 functionality
will be
Hi Dave,
*
*
*In any case, when you define an interceptor-ref for a specific action,*
*you must define *all* of the interceptors for that action*
*
*
How can this be done ?
Thanks,
Srineel
On Mon, Nov 21, 2011 at 1:26 AM, Dave Newton davelnew...@gmail.com wrote:
On Sun, Nov 20, 2011 at 2:47
By using a complete stack in the action's interceptor-ref config element,
or by combining stacks as with any interceptor configuration.
http://struts.apache.org/2.x/docs/interceptor-configuration.html
Dave
On Sun, Nov 20, 2011 at 2:59 PM, Srineel Mazumdar smaz19...@gmail.comwrote:
Hi Dave,
*
Dave,
Thanks a lot for providing the solution. I put default stack in the
interceptor stack and the functionality is running properly. However if I
do not use stack and directly use the interceptor, it gives the following
error :
HTTP Status 404 -
8 matches
Mail list logo