Re: Problem with LoginInterceptor

2009-07-20 Thread Paweł Wielgus
ion in the session. Once login > success,  you get back the action and invoke it again. > > May be someone can give more better suggestion? > > Regards > Louis > > > > > From: mathias-ewald > To: [email protected] > Se

Re: Problem with LoginInterceptor

2009-07-20 Thread mailtolouis2020-struts
From: mathias-ewald To: [email protected] Sent: Monday, July 20, 2009 3:17:47 PM Subject: Re: Problem with LoginInterceptor Hi, so what do you suggest? Isn't there any way to do that? cu mathias mailtolouis2020-struts wrote: > > I don't think it will preserve your parameter b

Re: Problem with LoginInterceptor

2009-07-20 Thread mathias-ewald
27;t expect to come into your url. > > Regards > Louis > > > > From: mathias-ewald > To: [email protected] > Sent: Monday, July 20, 2009 2:53:39 PM > Subject: Re: Problem with LoginInterceptor > > > Hi, > > yes I am using the latest ver

Re: Problem with LoginInterceptor

2009-07-20 Thread mailtolouis2020-struts
t I don't think you store a staffResourceId as a hidden param in the login page, if its not there you won't expect to come into your url. Regards Louis From: mathias-ewald To: [email protected] Sent: Monday, July 20, 2009 2:53:39 PM Subje

Re: Problem with LoginInterceptor

2009-07-20 Thread mathias-ewald
Hi, yes I am using the latest version of struts2. Most likely the tutorials I used refer to other versions. I set the struts.xml as follows: ---

Re: Problem with LoginInterceptor

2009-07-20 Thread Dave Newton
mathias-ewald wrote: the additions Interceptors cannot be found. Where are they defined?? My first guess would be that you're using Struts 2.1+ and the reference material you're using is for Struts 2.0. Interceptors are now named using camelCase: modelDriven, servletConfig, etc. (or whatever

Re: Problem with LoginInterceptor

2009-07-20 Thread mathias-ewald
Thx for the reply! I checked the Login Intercepter Tutorial once again and recognized I forgot some Interceptors as you told. This is what they suggest to define: You need to include one of the framework interceptor stacks (e.g "defaultStack") in your "defaultLoginStack" stack. As you have con

Re: Problem with LoginInterceptor

2009-07-20 Thread Nils-Helge Garli Hegvik
You need to include one of the framework interceptor stacks (e.g "defaultStack") in your "defaultLoginStack" stack. As you have configured it, your interceptor is the only one that is being executed, so none of the framework "magic" gets applied. Nils-H On Mon, Jul 20, 2009 at 10:09 AM, mathias-e