Mark Spritzler wrote:It looks like the username is not being passed in.
Try putting breakpoint in your userdetails and seeing what is null.
You are using j_username in your username field on your form, correct?
username is correct, i am using login form generated by spring.
but my userDAO is null, and thats the problem
edit : i probably need to use jndi lookup, looking into this right now
eidt 2: got it
1) added in web.xml
in my UserDetailsService
still if there is better/more 'pro' way i would like to here it :P