What's wrong with this code. I am getting error on setRedirectStrategy and HttpContext as cannot be resolved to a type. And I am trying to redirect as I am always getting 302 error. So is this the right way to do it. Any example will be appreciated..
After Some modifications in my code, Now I am getting error on setRedirectStrategy as
and error on DefaultRedirectStrategy as
and If I am adding this import to resolve the DefaultDirectStrategy error than I am getting red line on this import as
and error on super as the same as above one
And I am not able to know, what is wrong in this code. Any help will be appreciated. And I am trying to redirect as I am always getting 302 error. So is this the right way to do it. Any example will be appreciated..