Rusty Spoone wrote:
Hi all. I have a Login action that gets intercepted by non other than
LoginInterceptor. In the interceptor the username and password are checked.
I can even print them in the logs to see that they are really there.

The interceptor returns

return invocation.invoke();

Then in the Login action username, password and HttpServletRequest are all
null. I have setters for each. I am implementing ServletRequestAware.

I must have really screwed something up. Any ideas?

What do you mean by 'gets intercepted by non other than LoginInterceptor.'? If you've configured the action so that the normal interceptor stack is not applied and that's the only interceptor that runs, then you've bypassed the interceptors that handle setting data onto your action.

If that doesn't make sense, try posting the relevant parts of your struts.xml configuration.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to